Approval Policies
All operations for Approval Policies.
Data model
The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:
| Entity | Schema ID | Fields | Sequence | Permissions |
|---|---|---|---|---|
| Approval Policy | approval_policy |
0 | — | approval_policy_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/approval_policies |
Create approval_policie | Create a new approval_policie in the active tenant. |
DELETE |
/v1/approval_policies/{id} |
Delete approval_policie | Soft delete entity. |
GET |
/v1/approval_policies/{id} |
Get approval_policie by id | Fetch a single approval_policie. |
GET |
/v1/approval_policies/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/approval_policies/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/approval_policies/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/approval_policies |
List approval_policies | List approval_policies for the active tenant. |
PATCH |
/v1/approval_policies/{id} |
Patch approval_policie | JSON Merge Patch update. |
POST |
/v1/approval_policies/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/approval_policies/{id}/transition |
POST /v1/approval_policies/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/approval_policies/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/approval_policies/{id} |
Replace approval_policie | Full replace with optimistic locking. |