Projects

Get resource dependencies

Returns inbound and outbound dependencies for the given resources.

get/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

Query parameters

resource_idsstring required

Comma-separated list of resource IDs

Example:1,2,3
is_recursiveboolean

Recursively traverse the dependency graph

Response

Resource dependency graph keyed by resource_id

rootobject required

Changes

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