org.tangled.ci.cancelPipeline
Cancel running pipeline or specific workflows
Details · procedure
| Kind | procedure |
|---|---|
| Authority | ci.tangled.org |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.pipelineNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.workflows.itemsNo maxLength, maxGraphemes or format limits this string.endpoint-output-undefineddefs.mainNo output is defined. Endpoints should define one, even an empty one.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Cancel running pipeline or specific workflows",
"errors": [
{
"description": "Invalid request parameters",
"name": "InvalidRequest"
},
{
"description": "Repository not found",
"name": "RepoNotFound"
},
{
"description": "Pipeline not found in this repository",
"name": "PipelineNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"pipeline": {
"description": "Spindle-local pipeline id",
"type": "string"
},
"repo": {
"description": "git repository DID",
"format": "did",
"type": "string"
},
"workflows": {
"description": "Workflow names to filter. When not provided, entire pipeline will be canceled.",
"items": {
"description": "workflow name",
"type": "string"
},
"type": "array"
}
},
"required": [
"repo",
"pipeline"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "org.tangled.ci.cancelPipeline",
"lexicon": 1
}