Skip to main content
GET
/
api
/
v1
/
artifacts
/
{artifact_id}
/
consumers
List repositories consuming this artifact, with pinned versions.
curl --request GET \
  --url https://api.example.com/api/v1/artifacts/{artifact_id}/consumers \
  --header 'X-API-Key: <api-key>'
{
  "artifact": {
    "artifact_type": "<string>",
    "connected_org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "registry_url": "<string>",
    "source_repository_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "updated_at": "2023-11-07T05:31:56Z",
    "version": "<string>",
    "consumer_count": 0,
    "is_orphan": false,
    "source_repository": {
      "full_path": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>"
    }
  },
  "consumers": [
    {
      "is_latest": true,
      "repository": {
        "full_path": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>"
      },
      "source_file": "<string>",
      "source_line": 123,
      "version_constraint": "<string>",
      "import_count": 1
    }
  ],
  "consumers_lagging": 123,
  "consumers_on_latest": 123,
  "latest_version": "<string>",
  "total_consumers": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.riftmap.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Headers

X-Workspace-Id
string | null

Path Parameters

artifact_id
string<uuid>
required

Cookies

riftmap_access
string | null

Response

Successful Response

All consumers of a specific artifact.

artifact
ArtifactResponse · object
required

An artifact (Docker image, Python package, Terraform module, etc.).

consumers
ArtifactConsumer · object[]
required
consumers_lagging
integer
required
consumers_on_latest
integer
required
latest_version
string | null
required
total_consumers
integer
required