Projects

Get resource status

Returns the current status for all resources in the project

get/workspaces/{workspace_id}/projects/{project_id}/resource-status

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/projects/{project_id}/resource-status
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

workspace_idinteger required

Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.

Example:4
project_idinteger required

Project to delete

Example:4

Response

Resource status information

statusobject required

Status information for each resource

app_updateobject nullable

Ops-scheduled app-update announcement, or null when none is scheduled

Example response

{
  "status": {
    "value": {
      "(1, 'dataview')": {
        "pipeline": {
          "status": "executing"
        },
        "triggers": {
          "123": {
            "status": "waiting_for_lock"
          }
        }
      },
      "(1, 'datasource')": {
        "status": "waiting_for_worker"
      }
    }
  },
  "app_update": {
    "scheduled_at": 1778500000,
    "message": "Brief restart"
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.