Locations
All operations for Locations.
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 |
|---|---|---|---|---|
| location | location |
28 | — | location_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/locations |
Create location | Create a new location in the active tenant. |
DELETE |
/v1/locations/{id} |
Delete location | Soft delete entity. |
GET |
/v1/locations/{id} |
Get location by id | Fetch a single location. |
GET |
/v1/locations/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/locations/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/locations/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/locations |
List locations | List locations for the active tenant. |
PATCH |
/v1/locations/{id} |
Patch location | JSON Merge Patch update. |
POST |
/v1/locations/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/locations/{id}/transition |
POST /v1/locations/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/locations/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/locations/{id} |
Replace location | Full replace with optimistic locking. |