Skip to main content

kobana kadu workspaces

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

CommandHTTPDescription
workspaces listGET /v1/workspacesList workspaces
workspaces createPOST /v1/workspacesCreate workspace
workspaces getGET /v1/workspaces/{id}Get workspace details
workspaces updatePATCH /v1/workspaces/{id}Update workspace
workspaces deleteDELETE /v1/workspaces/{id}Delete workspaces (soft delete)

workspaces list​

List workspaces

kobana kadu workspaces list [OPTIONS]

GET /v1/workspaces

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).

workspaces create​

Create workspace

kobana kadu workspaces create [OPTIONS]

POST /v1/workspaces

Request body

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

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

Responses

HTTPDescription
201created
400VALIDATION_ERROR
409CONFLICT — duplicate record / IDEMPOTENCY_KEY_REUSED
503AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).

workspaces get​

Get workspace details

kobana kadu workspaces get [ID] [OPTIONS]

GET /v1/workspaces/{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).

workspaces update​

Update workspace

kobana kadu workspaces update [ID] [OPTIONS]

PATCH /v1/workspaces/{id}

Path arguments: id

Request body

NameTypeRequiredDescription
labelstringno
custom_metadataobjectno

More fields and nested objects: kobana schema kadu.workspaces.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).

workspaces delete​

Delete workspaces (soft delete)

kobana kadu workspaces delete [ID] [OPTIONS]

DELETE /v1/workspaces/{id}

Requires the delete level (or all): write does not delete. Cascade: the workspace's activities, tasks, executions, webhooks, memories and secrets; 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).