Rest API : provide CRUD endpoints on Contract domain entity
What feature is missing
The contract domain entity provides the ability to :
- enable/disable audit functionalities and scopes (page, scenario, domain or offline)
- set the begin/end dates of usage
- enable/disable referentials (rgaa3.0, rgaa4.0) audits can be applied to
So far, the rest api doesn't provide any endpoints allowing to deal with this domain entity (create, read, update, delete)
This is the purpose of this issue.
Typical use-case
Following rest api development best practices, we expect to expose several endpoints that can perform the following operations:
- GET method (for READ operations)
- PUT method (for CREATE operations)
- POST method (for UPDATE operations)
- DELETE method (for delete operation)
This api has to be documented with open-api
Possible workaround
All these operations are accessible from the web-app admin interface.