org.tangled.ci.queryPipelines
Query pipelines in a git repository
Details · query
| Kind | query |
|---|---|
| Authority | ci.tangled.org |
| Indexed |
Showing version bafyreiemtkjrcm3ln5bxiaviayh35zzhfeogldnn47p3f5jhtsdzvdgjuy. Show the latest
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.triggers.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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"
}
},
"id": "org.tangled.ci.queryPipelines",
"lexicon": 1
}