org.tangled.ci.queryPipelines

tangled.org

Documentation

Query pipelines in a git repository

main query

Query pipelines in a git repository

Parameters

commits array of string Optional

Filter pipelines by commit ids.

cursor string Optional

Pagination cursor

limit integer Optional

Maximum number of pipelines to return

repo string did Required

DID of the repository

triggers array of string Optional

Filter pipelines by trigger kind. When provided, pipelines matching any listed kind are returned; when omitted, every kind is returned.

Output

Encodingapplication/json
cursor string Optional

No description available.

pipelines array Required

No description available.

total integer Required

Number of matching pipelines

Errors

InvalidRequest Invalid request parameters
RepoNotFound Repository not found
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Filter pipelines by commit ids.
Pagination cursor
Maximum number of pipelines to return
DID of the repository
Filter pipelines by trigger kind. When provided, pipelines matching any listed kind are returned; when omitted, every kind is returned.
View raw schema
{
  "description": "Query pipelines in a git repository",
  "errors": [
    {
      "description": "Invalid request parameters",
      "name": "InvalidRequest"
    },
    {
      "description": "Repository not found",
      "name": "RepoNotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "cursor": {
          "type": "string"
        },
        "pipelines": {
          "items": {
            "ref": "org.tangled.ci.defs#pipeline",
            "type": "ref"
          },
          "type": "array"
        },
        "total": {
          "description": "Number of matching pipelines",
          "type": "integer"
        }
      },
      "required": [
        "total",
        "pipelines"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "commits": {
        "description": "Filter pipelines by commit ids.",
        "items": {
          "description": "commit id (SHA-1 or SHA-256)",
          "maxLength": 64,
          "type": "string"
        },
        "type": "array"
      },
      "cursor": {
        "description": "Pagination cursor",
        "type": "string"
      },
      "limit": {
        "default": 50,
        "description": "Maximum number of pipelines to return",
        "maximum": 250,
        "minimum": 1,
        "type": "integer"
      },
      "repo": {
        "description": "DID of the repository",
        "format": "did",
        "type": "string"
      },
      "triggers": {
        "description": "Filter pipelines by trigger kind. When provided, pipelines matching any listed kind are returned; when omitted, every kind is returned.",
        "items": {
          "knownValues": [
            "org.tangled.event.push",
            "org.tangled.event.pullRequest",
            "org.tangled.ci.trigger.manual",
            "org.tangled.ci.trigger.schedule"
          ],
          "type": "string"
        },
        "type": "array"
      }
    },
    "required": [
      "repo"
    ],
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@