API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Trips

All operations for Trips.

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
Trip trip 33 — trip_*

Endpoints

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

Search