org.tangled.ci.cancelPipeline

Cancel running pipeline or specific workflows

Repository @tangled.org did:plc:wshs7t2adsemcrrd4snkeqli namespace authority
Details · procedure
Kindprocedure
Authorityci.tangled.org
Indexed
cid bafyreidx6fategeqa3vdupctyp4jrgmfrzmtdv6glhvvc26lyg34fn7zhu

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.pipelineNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.workflows.itemsNo maxLength, maxGraphemes or format limits this string.
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$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
}