Alloy API now OpenAPI 3.0 Compliant
Overview
We are making changes to some of our endpoints in order to become fully OpenAPI 3.0 compliant. Additionally, we will be adding Redoc under the /docs path to provide an even easier way of navigating our API definition and explore models that use discriminators.
Who will this affect?
There are several changes to various endpoints as detailed below. None of these changes are expected to be a breaking change and the current method of calling these endpoints will remain compatible.
There will however be a Phase 2 of this work in which we will remove any obsolete endpoints and properties. API users should complete any transition to the new endpoints before the Phase 2 date to avoid issues.
Details
Delete Endpoints
The following endpoints will change to have a query parameter named signature
to pass the signature. Passing the signature in the body will be obsoleted and removed in Phase 2:DELETE api/access-policy/{code}/rule/{id}
DELETE api/custom-report/{customReportCode}/data-source/{code}
DELETE api/custom-report/{customReportCode}/document-definition/{id}
DELETE api/design/{code}/attribute/{attributeCode}
DELETE api/design/{code}/interface/{interfaceCode}
DELETE api/workflow-action-group/{code}/action/{id}
DELETE api/workflow/{code}/action/{id}
User Group Endpoints
There are 2 new user group endpoints to add and remove users from a user group:POST api/user-group/user/add
POST api/user-group/user/remove
The following two (current) endpoints will be marked obsolete and removed in Phase 2; note, these will no longer be visible through the swagger documentation.POST api/user-group/user
DELETE api/user-group/user
Role User Endpoints
There are 2 new role endpoints to add and remove users from a role:POST api/role/user/add
POST api/role/user/remove
The following two (current) endpoints will be marked obsolete and removed in Phase 2; note, these will no longer be visible through the swagger documentation. POST api/role/user
DELETE api/role/user
Role Group Endpoints
There are 2 new role endpoints to add and remove groups from a role:POST api/role/group/add
POST api/role/group/remove
The following two (current) endpoints will be marked obsolete and removed in Phase 2; note, these will no longer be visible through the swagger documentation. POST api/role/group
DELETE api/role/group