This document lists the breaking changes in the GraphQL API in Wyn Enterprise v5.1.
For example: [''Execute'']. This change is done to support custom permissions and roles from plugins.
Module
Server
Operation
mutation{ changePermissions }
Sample
mutation { changePermissions( documentIds: ["09cada19-978f-4a87-816f-b90bbe36cad2"], operationType: "AddNew", grant: [{ role: "3254c72f-2d7c-4781-abf9-184fc7cad340", ops:["Execute"]}]) }
mutation{ updatePermissions }
mutation { UpdatePermissions( documentIds: ["09cada19-978f-4a87-816f-b90bbe36cad2"], operationType: "AddNew", grant: [{ role: "3254c72f-2d7c-4781-abf9-184fc7cad340", ops:["Execute"]}]) }
This change has been done to improve the performance of the mutation.
mutation{ tagDocument }
mutation { tagDocument( tagId: "51b6d38c-4e6a-4c44-bf5c-f4bc904df652", documentId: "420cb224-8151-4fe6-a28e-b2b1d8fb93c5" ) }
Sample Response
{ "data": { "tagDocument": "success" } }
This change is done to improve the performance of the mutation.
mutation{ untagDocument }
mutation { untagDocument( tagId: "51b6d38c-4e6a-4c44-bf5c-f4bc904df652", documentId: "420cb224-8151-4fe6-a28e-b2b1d8fb93c5" ) }
{ "data": { "untagDocument": "success" } }