Projects

Bulk modify resource data-sync settings

Toggles data_pass_through on the given dataviews/tasks/actions and triggers pending recompute where needed.

patch/workspaces/{workspace_id}/projects/{project_id}/resource-dependencies

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/projects/{project_id}/resource-dependencies
  • 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 ID of the workspace

Example:4

Request body

Example request

{
  "patches": [
    {
      "op": "replace",
      "path": "data_sync",
      "value": {
        "context_type": "dataview",
        "context_id": 42,
        "data_pass_through": true
      }
    }
  ]
}

Response

Data-sync update accepted; returns the tracking job.

Example response

{
  "job": {
    "response": {
      "value": {
        "response": {
          "object": "some object"
        }
      }
    }
  }
}

Changes

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