The following APIs are exposed by S2:
- Acceptance of updates (JSON format) for procedures
POST /store/<asset-type>/<asset-id> - Acceptance of status updates for procedures
POST /store/<asset-type>/<asset-id>/update?field=status&value=STATUS_VALUE
Asset Types accepted are: document, loto, commissioning-guide, commissioning-procedure, microgrid. If asset is provided as asset-type (i.e., the generic endpoint is invoked) the JSON body should contain the type property. For the status update endpoint is not mandatory to send a Body with the JSON content.
Status Values accepted are: Draft, Validation, Approval, Approved