API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Shift Blocks

All operations for Shift Blocks.

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
Shift Block shift_block 12 — shift_block_*

Endpoints

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

Search