full diff

org.tangled.ci.queryPipelines

tangled.org +0 −0
From
bafyreiemtkjrcm3ln5bxiaviayh35zzhfeogldnn47p3f5jhtsdzvdgjuy indexed 2026-10-28 14:06 UTC View this version
To
bafyreiemtkjrcm3ln5bxiaviayh35zzhfeogldnn47p3f5jhtsdzvdgjuy indexed 2026-10-28 14:06 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Query pipelines in a git repository",
66 "errors": [
77 {
88 "description": "Invalid request parameters",
99 "name": "InvalidRequest"
1010 },
1111 {
1212 "description": "Repository not found",
1313 "name": "RepoNotFound"
1414 }
1515 ],
1616 "output": {
1717 "encoding": "application/json",
1818 "schema": {
1919 "properties": {
2020 "cursor": {
2121 "type": "string"
2222 },
2323 "pipelines": {
2424 "items": {
2525 "ref": "org.tangled.ci.defs#pipeline",
2626 "type": "ref"
2727 },
2828 "type": "array"
2929 },
3030 "total": {
3131 "description": "Number of matching pipelines",
3232 "type": "integer"
3333 }
3434 },
3535 "required": [
3636 "total",
3737 "pipelines"
3838 ],
3939 "type": "object"
4040 }
4141 },
4242 "parameters": {
4343 "properties": {
4444 "commits": {
4545 "description": "Filter pipelines by commit ids.",
4646 "items": {
4747 "description": "commit id (SHA-1 or SHA-256)",
4848 "maxLength": 64,
4949 "type": "string"
5050 },
5151 "type": "array"
5252 },
5353 "cursor": {
5454 "description": "Pagination cursor",
5555 "type": "string"
5656 },
5757 "limit": {
5858 "default": 50,
5959 "description": "Maximum number of pipelines to return",
6060 "maximum": 250,
6161 "minimum": 1,
6262 "type": "integer"
6363 },
6464 "repo": {
6565 "description": "DID of the repository",
6666 "format": "did",
6767 "type": "string"
6868 },
6969 "triggers": {
7070 "description": "Filter pipelines by trigger kind. When provided, pipelines matching any listed kind are returned; when omitted, every kind is returned.",
7171 "items": {
7272 "knownValues": [
7373 "org.tangled.event.push",
7474 "org.tangled.event.pullRequest",
7575 "org.tangled.ci.trigger.manual",
7676 "org.tangled.ci.trigger.schedule"
7777 ],
7878 "type": "string"
7979 },
8080 "type": "array"
8181 }
8282 },
8383 "required": [
8484 "repo"
8585 ],
8686 "type": "params"
8787 },
8888 "type": "query"
8989 }
9090 },
9191 "id": "org.tangled.ci.queryPipelines",
9292 "lexicon": 1
9393}