Skip to main content

kobana dashboards checklists

Commands of kobana dashboards checklists. Every global option (Global options) applies here.

CommandHTTPDescription
checklists progressGET /v1/checklists/{id}/progressGet tenant progress
checklists progress fileGET /v1/checklists/{id}/progress/fileDownload task file
checklists progress file createPOST /v1/checklists/{id}/progress/fileUpload task file
checklists progress file deleteDELETE /v1/checklists/{id}/progress/fileRemove task file
checklists progress updatePUT /v1/checklists/{id}/progressUpdate tenant progress
checklists progress deleteDELETE /v1/checklists/{id}/progressReset tenant progress
checklists listGET /v1/checklistsList checklists
checklists getGET /v1/checklists/{id}Get checklist

checklists progress​

Get tenant progress

kobana dashboards checklists progress [ID] [OPTIONS] [COMMAND]

GET /v1/checklists/{id}/progress

Where a tenant stands on a checklist, task by task, with done/total per stage. Every portal user of the same tenant sees this same progress.

Path arguments: id

Query parameters

NameTypeRequiredDescription
tenant_idstringnoTenant ID of the portal users who own the progress — every user of the same tenant sees the same checklist. Give this or portal_user_id.
portal_user_idstringnoA portal user (id or external_id): the progress of their tenant is the one meant (a user without a tenant has a checklist of their own). Give this or tenant_id.

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on: the id or the public_id shown under Workspaces on the dashboard. Inside the token's organization, data lives in workspaces. It may be omitted while the organization has a single workspace; with two or more, leaving it out returns 400 workspace_required. A workspace outside the organization returns 403 unknown_workspace. With a person token, only the workspaces that person has access to are reachable (organization owners reach all of them); any other returns 403 workspace_access_denied.

Responses

HTTPDescription
200The tenant's progress.
404Resource not found in the current organization.
422Request body failed validation.

checklists progress file​

Download task file

kobana dashboards checklists progress file [ID] [OPTIONS] [COMMAND]

GET /v1/checklists/{id}/progress/file

The file the tenant sent to a Request task.

Path arguments: id

Query parameters

NameTypeRequiredDescription
tenant_idstringnoTenant ID of the portal users who own the progress — every user of the same tenant sees the same checklist. Give this or portal_user_id.
portal_user_idstringnoA portal user (id or external_id): the progress of their tenant is the one meant (a user without a tenant has a checklist of their own). Give this or tenant_id.
task_idstringyesTask ID.

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on: the id or the public_id shown under Workspaces on the dashboard. Inside the token's organization, data lives in workspaces. It may be omitted while the organization has a single workspace; with two or more, leaving it out returns 400 workspace_required. A workspace outside the organization returns 403 unknown_workspace. With a person token, only the workspaces that person has access to are reachable (organization owners reach all of them); any other returns 403 workspace_access_denied.

Responses

HTTPDescription
200The file content.
404Resource not found in the current organization.

checklists progress file create​

Upload task file

kobana dashboards checklists progress file create [ID] [OPTIONS]

POST /v1/checklists/{id}/progress/file

Sends, for the tenant, the file of a Request task (content_base64), replacing the one before.

Path arguments: id

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on: the id or the public_id shown under Workspaces on the dashboard. Inside the token's organization, data lives in workspaces. It may be omitted while the organization has a single workspace; with two or more, leaving it out returns 400 workspace_required. A workspace outside the organization returns 403 unknown_workspace. With a person token, only the workspaces that person has access to are reachable (organization owners reach all of them); any other returns 403 workspace_access_denied.

Request body

NameTypeRequiredDescription
task_idstringyes
namestringyes
content_base64stringyesThe file content in base64 (up to the 2 MB request limit).
tenant_idstringnoTenant ID of the portal users who own the progress — every user of the same tenant sees the same checklist. Give this or portal_user_id.
portal_user_idstringnoA portal user (id or external_id): the progress of their tenant is the one meant (a user without a tenant has a checklist of their own). Give this or tenant_id.
content_typestringno

More fields and nested objects: kobana schema dashboards.checklists.progress.file.create.

Responses

HTTPDescription
201The file recorded.
400Request body failed validation.
404Resource not found in the current organization.
422Request body failed validation.

checklists progress file delete​

Remove task file

kobana dashboards checklists progress file delete [ID] [OPTIONS]

DELETE /v1/checklists/{id}/progress/file

Takes back the file the tenant sent to a task.

Path arguments: id

Query parameters

NameTypeRequiredDescription
tenant_idstringnoTenant ID of the portal users who own the progress — every user of the same tenant sees the same checklist. Give this or portal_user_id.
portal_user_idstringnoA portal user (id or external_id): the progress of their tenant is the one meant (a user without a tenant has a checklist of their own). Give this or tenant_id.
task_idstringyesTask ID.

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on: the id or the public_id shown under Workspaces on the dashboard. Inside the token's organization, data lives in workspaces. It may be omitted while the organization has a single workspace; with two or more, leaving it out returns 400 workspace_required. A workspace outside the organization returns 403 unknown_workspace. With a person token, only the workspaces that person has access to are reachable (organization owners reach all of them); any other returns 403 workspace_access_denied.

Responses

HTTPDescription
200Remove task file
404Resource not found in the current organization.

checklists progress update​

Update tenant progress

kobana dashboards checklists progress update [ID] [OPTIONS]

PUT /v1/checklists/{id}/progress

Sets the status of one or more tasks for the tenant (creates the progress on first use). The tenant's users see the change in the portal.

Path arguments: id

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on: the id or the public_id shown under Workspaces on the dashboard. Inside the token's organization, data lives in workspaces. It may be omitted while the organization has a single workspace; with two or more, leaving it out returns 400 workspace_required. A workspace outside the organization returns 403 unknown_workspace. With a person token, only the workspaces that person has access to are reachable (organization owners reach all of them); any other returns 403 workspace_access_denied.

Request body

NameTypeRequiredDescription
task_idsarray<string>yes
statusstringyespending, in_progress or done. A task nobody touched is pending. Values: pending, in_progress, done.
tenant_idstringnoTenant ID of the portal users who own the progress — every user of the same tenant sees the same checklist. Give this or portal_user_id.
portal_user_idstringnoA portal user (id or external_id): the progress of their tenant is the one meant (a user without a tenant has a checklist of their own). Give this or tenant_id.

More fields and nested objects: kobana schema dashboards.checklists.progress.update.

Responses

HTTPDescription
200The tenant's progress.
400Request body failed validation.
404Resource not found in the current organization.
422Request body failed validation.

checklists progress delete​

Reset tenant progress

kobana dashboards checklists progress delete [ID] [OPTIONS]

DELETE /v1/checklists/{id}/progress

Brings the tasks of task_ids (all of them, without it) back to pending and forgets the files sent. It is an update: the history stays in events and audit.

Path arguments: id

Query parameters

NameTypeRequiredDescription
tenant_idstringnoTenant ID of the portal users who own the progress — every user of the same tenant sees the same checklist. Give this or portal_user_id.
portal_user_idstringnoA portal user (id or external_id): the progress of their tenant is the one meant (a user without a tenant has a checklist of their own). Give this or tenant_id.
task_idsstringnoTask IDs, comma separated. Without it, every task of the checklist.

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on: the id or the public_id shown under Workspaces on the dashboard. Inside the token's organization, data lives in workspaces. It may be omitted while the organization has a single workspace; with two or more, leaving it out returns 400 workspace_required. A workspace outside the organization returns 403 unknown_workspace. With a person token, only the workspaces that person has access to are reachable (organization owners reach all of them); any other returns 403 workspace_access_denied.

Responses

HTTPDescription
200The tenant's progress.
404Resource not found in the current organization.
422Request body failed validation.

checklists list​

List checklists

kobana dashboards checklists list [OPTIONS]

GET /v1/checklists

The Task List blocks of the workspace's published portal, page by page. The tasks are written in the builder; the progress belongs to each tenant (GET /checklists/{id}/progress).

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on: the id or the public_id shown under Workspaces on the dashboard. Inside the token's organization, data lives in workspaces. It may be omitted while the organization has a single workspace; with two or more, leaving it out returns 400 workspace_required. A workspace outside the organization returns 403 unknown_workspace. With a person token, only the workspaces that person has access to are reachable (organization owners reach all of them); any other returns 403 workspace_access_denied.

Responses

HTTPDescription
200The checklists.
404Resource not found in the current organization.

checklists get​

Get checklist

kobana dashboards checklists get [ID] [OPTIONS]

GET /v1/checklists/{id}

One checklist of the published portal: stages and visible tasks.

Path arguments: id

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on: the id or the public_id shown under Workspaces on the dashboard. Inside the token's organization, data lives in workspaces. It may be omitted while the organization has a single workspace; with two or more, leaving it out returns 400 workspace_required. A workspace outside the organization returns 403 unknown_workspace. With a person token, only the workspaces that person has access to are reachable (organization owners reach all of them); any other returns 403 workspace_access_denied.

Responses

HTTPDescription
200The checklist.
404Resource not found in the current organization.