API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Delegations

All operations for Delegations.

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
Delegation delegation 9 — delegation_*

Endpoints

Method Path Operation Description
POST /v1/delegations Create delegation Create a new delegation in the active tenant.
DELETE /v1/delegations/{id} Delete delegation Soft delete entity.
GET /v1/delegations/{id} Get delegation by id Fetch a single delegation.
GET /v1/delegations/{id}/linked Get linked entities CodeMeta OS API endpoint.
GET /v1/delegations/resolve/{userId} GET /v1/delegations/resolve/{userId} CodeMeta OS API endpoint.
GET /v1/delegations/{id}/timeline Get timeline CodeMeta OS API endpoint.
GET /v1/delegations/{id}/transitions List transitions CodeMeta OS API endpoint.
GET /v1/delegations List delegations List delegations for the active tenant.
PATCH /v1/delegations/{id} Patch delegation JSON Merge Patch update.
POST /v1/delegations/bulk Bulk operation CodeMeta OS API endpoint.
POST /v1/delegations/{id}/transition POST /v1/delegations/{id}/transition CodeMeta OS API endpoint.
POST /v1/delegations/{id}/transitions/{transitionKey} Execute transition CodeMeta OS API endpoint.
PUT /v1/delegations/{id} Replace delegation Full replace with optimistic locking.

Search