[]
        
(Showing Draft Content)

Breaking Changes

This document lists the breaking changes in the GraphQL API.

Wyn Enterprise v6.1 to v7.0

There are no breaking changes in this release.

Wyn Enterprise v6.0 to v6.1

The following API has been removed:

/api/reporting/reports/{reportId}/bundle

Wyn Enterprise v5.1 to v6.0

There are no breaking changes in this release.

Wyn Enterprise v5.0 to v5.1


1. The ops value of the grant for changePermissions mutation for the batch of documents is now changed to a string array from an enum array in earlier versions.

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"]}])
}



2. The ops value of the grant for updatePermissions mutation for the batch of documents is now changed to a string array from an enum array in earlier versions.

For example: [''Execute'']. This change is done to support custom permissions and roles from plugins.


Module


Server


Operation

mutation{
  updatePermissions
}

Sample

mutation {
  UpdatePermissions(
  documentIds: ["09cada19-978f-4a87-816f-b90bbe36cad2"],
  operationType: "AddNew",
  grant: [{ role: "3254c72f-2d7c-4781-abf9-184fc7cad340", ops:["Execute"]}])
}



3. The return value of tagDocument mutation is now updated to string message from the document list.

This change has been done to improve the performance of the mutation.


Module


Server


Operation

mutation{
  tagDocument
}

Sample

mutation {
  tagDocument(
  tagId: "51b6d38c-4e6a-4c44-bf5c-f4bc904df652",
  documentId: "420cb224-8151-4fe6-a28e-b2b1d8fb93c5"
  )
}

Sample Response

{
  "data": {
  "tagDocument": "success"
  }
}



4. The return value of untagDocument mutation is now updated to string message from the document list.

This change is done to improve the performance of the mutation.


Module


Server


Operation

mutation{
  untagDocument
}

Sample

mutation {
  untagDocument(
  tagId: "51b6d38c-4e6a-4c44-bf5c-f4bc904df652",
  documentId: "420cb224-8151-4fe6-a28e-b2b1d8fb93c5"
 )
}

Sample Response

{
  "data": {
  "untagDocument": "success"
  }
}