As mutations são descritas como objetos strings no corpo POST da requisição. A sintaxe é composta pelo o nome da função [createEntity] e um objeto INPUT responsável por incluir todos os parametros [Obrigatório & Opicionais]. Os campos de retorno devem ser explicitamente solicitados logo abaixo.
Name | Type |
---|---|
createAddress | Create an address associated with an entity |
updateAddress | Update an address attributes associated with an entity |
deleteAddress | Delete an address associated with an entity |
createApplication | Create an application to making resource requests on behalf of the user with the user's authorization. |
updateApplication | Update an application attributes |
deleteApplication | Delete an application |
createCommitment | Create a commitment's attributes |
updateCommitment | Update a commitment's attributes |
deleteCommitment | Delete a commitment |
createCommitmentRemind | Create a reminder to specific commitment |
createConfirmAddress | Generate code, save and send |
confirmAddress | Confirm email or phone with code |
createCover | Create a cover for an organization |
deleteCover | Delete a cover from an organization |
createDevice | Create user's device specification |
deleteDevice | Delete user's device specification |
createEntity | Create an entity in a organization |
updateEntity | Update an entity's attributes |
deleteEntity | Delete an entity and also from organization |
importEntity | Import an entity to organization |
createGroup | Create a group in organization |
updateGroup | Update a group's attributes |
deleteGroup | Delete a group |
createLogo | Create a logo for an organization |
deleteLogo | Delete a logo from an organization |
createMedia | Create a media |
createMessageDraft | Create a message draft |
updateMessageDraft | Update a message draft |
deleteMessageDraft | Delete a message draft |
createMessage | Create a message |
updateMessage | Update a message |
deleteMessage | Soft delete a message |
createReaction | Create a reaction to a message |
deleteReaction | Delete a reaction |
clearAllNotifications | Clear all user's notification |
createOrganization | Create an organization |
updateOrganization | Update organization's attributes |
deleteOrganization | Delete an organization |
createPicture | Create a picture for an entity |
deletePicture | Delete an picture from an entity |
updateRecipient | Update the recipient attributes |
createReply | Create a reply message |
updateReply | Update the status from a reply message |
createReportField | Create a field for a report |
updateReportField | Update a field from a report |
deleteReportField | Delete a field from a report |
createReport | Create a report |
updateReport | Update a report |
deleteReport | Delete a report |
createRole | Create a role |
deleteRole | Delete a role |
updateSurvey | Update a survey attributes |
deleteSurvey | Delete a survey |
createSurveyResult | Create a survey result |
createTag | Create a Tag for an organization |
updateTag | Update attributes from tag |
deleteTag | Delete tag from organization |
createUserEntity | Create user and entity association |
deleteUserEntity | Delete user and entity association |
createUserEntityTag | Create user, entity and tag association |
deleteUserEntityTag | Delete user, entity and tag association |
createUser | Create an user |
updateUser | Update attribute from user |
deleteUser | Delete user |
authorizeApplication | Authorize application with |
passwordAuthenticate | Login user based on password |
codeAuthenticate | Login user based on code |
refreshTokenAuthenticate | Login user based on refresh token |
findApplication | Lookup an application by clientId |
findUser | Lookup a user by email or phone, send code if found |
findUsers | List of all users |
findOrganization | Lookup an organization by username |
findOrganizations | List of all organizations |