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