Skip to main content

kobana kadu activities

Commands of kobana kadu activities. Every global option (Global options) applies here.

CommandHTTPDescription
activities listGET /v1/activitiesList activities
activities createPOST /v1/activitiesCreate activity
activities getGET /v1/activities/{id}Get activity details
activities updatePATCH /v1/activities/{id}Update activity
activities deleteDELETE /v1/activities/{id}Delete activities (soft delete)

activities list​

List activities

kobana kadu activities list [OPTIONS]

GET /v1/activities

Query parameters

NameTypeRequiredDescription
cursorstringno
limitnumberno
sort_bystringnoField in snake_case: created_at (default), updated_at or a filterable field.
sort_orderstringnoDefault: desc. Values: asc, desc.

Responses

HTTPDescription
200OK
503AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).

activities create​

Create activity

kobana kadu activities create [OPTIONS]

POST /v1/activities

Request body

NameTypeRequiredDescription
labelstringyes
workspace_idstring (uuid)yes
external_idstringnoRecord id in the source system (free text).
custom_metadataobjectno

More fields and nested objects: kobana schema kadu.activities.create.

Responses

HTTPDescription
201created
400VALIDATION_ERROR
409IDEMPOTENCY_KEY_REUSED / IDEMPOTENCY_REQUEST_IN_PROGRESS (or the route's CONFLICT)
422VALIDATION_ERROR — workspace outside the organization
503AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).

activities get​

Get activity details

kobana kadu activities get [ID] [OPTIONS]

GET /v1/activities/{id}

Path arguments: id

Responses

HTTPDescription
200OK
404not found
503AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).

activities update​

Update activity

kobana kadu activities update [ID] [OPTIONS]

PATCH /v1/activities/{id}

Path arguments: id

Request body

NameTypeRequiredDescription
labelstringno
custom_metadataobjectno

More fields and nested objects: kobana schema kadu.activities.update.

Responses

HTTPDescription
200OK
400VALIDATION_ERROR
404NOT_FOUND
409IDEMPOTENCY_KEY_REUSED / IDEMPOTENCY_REQUEST_IN_PROGRESS (or the route's CONFLICT)
503AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).

activities delete​

Delete activities (soft delete)

kobana kadu activities delete [ID] [OPTIONS]

DELETE /v1/activities/{id}

Requires the delete level (or all): write does not delete. Cascade: the activity's tasks, executions and memories; cancels schedules and disables the tasks' endpoint.

Path arguments: id

Responses

HTTPDescription
200OK
404NOT_FOUND
503AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).