Skip to content
Navigation

terminateRepoExtensionInstallationWorkflowRun

Stop a workflow run of the installation that hasn't finished and answer it terminated; a step already under way may finish, but the run records nothing more. A finished run is refused.

POST
/repos/{repo_id}/extension-installations/{name}/workflow-runs/{run_id}/terminate

Path parameters

  • repo_id
    string
    required
    pattern: ^repo_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • name
    string
    required
    maxLength: 129 · pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$
  • run_id
    string
    required
    pattern: ^extension_workflow_run_[0-7][0-9a-hjkmnp-tv-z]{25}$

Returns

200

ExtensionWorkflowRun

JSON
  • id
    string
    required
    pattern: ^extension_workflow_run_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • extension_name
    string
    required
    maxLength: 129 · pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$
  • version
    required

    One of the following:

    • string
    • string
  • branch
    string
    required
    minLength: 1
  • workflow
    string
    required
    minLength: 1
  • key
    string
    required
    minLength: 1
  • enqueued_by_id
    string
    required
    pattern: ^(?:user|extension)_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • enqueued_by_extension
    required

    One of the following:

    • string
    • null
  • status
    queued
    or
    running
    or
    waiting
    or
    complete
    or
    errored
    or
    terminated
    required
  • waiting_for_signal
    required

    One of the following:

    • string
    • null
  • signal_sequence
    integer
    required
    maximum: 9007199254740991 · minimum: -9007199254740991
  • input
    unknown
    required
  • output
    required

    One of the following:

    • Option 1
    • null
  • failure
    required

    One of the following:

    • string
    • null
  • queued_at
    string
    required
  • started_at
    required

    One of the following:

    • string
    • null
  • finished_at
    required

    One of the following:

    • string
    • null

400

InvalidRequest
JSON
  • _tag
    InvalidRequest
    required
  • part
    path
    or
    query
    or
    headers
    or
    body
    required
  • issues
    array of
    object
    required
    • path
      array of
      required

      One of the following:

      • string
      • integer
    • message
      string
      required

401

InvalidCredentials
JSON
  • _tag
    InvalidCredentials
    required

403

Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON

One of the following:

  • ForbiddenEncoded
    • _tag
      Forbidden
      required
    • message
      string
      required
  • ForbiddenOriginEncoded
    • _tag
      ForbiddenOrigin
      required
  • RequiresPersonalSessionEncoded
    • _tag
      RequiresPersonalSession
      required
  • RunBranchRequiredEncoded
    • _tag
      RunBranchRequired
      required
    • branch
      string
      required
      minLength: 1
    • message
      string
      required

404

ExtensionInstallationNotFound | ExtensionWorkflowRunNotFound | RepoNotFound
JSON

One of the following:

  • ExtensionInstallationNotFoundEncoded
    • _tag
      ExtensionInstallationNotFound
      required
    • extension_name
      string
      required
      minLength: 1
    • message
      string
      required
  • ExtensionWorkflowRunNotFoundEncoded
    • _tag
      ExtensionWorkflowRunNotFound
      required
    • run_id
      string
      required
      pattern: ^extension_workflow_run_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • RepoNotFoundEncoded
    • _tag
      RepoNotFound
      required

409

ExtensionWorkflowRunFinished
JSON
  • _tag
    ExtensionWorkflowRunFinished
    required
  • run_id
    string
    required
    pattern: ^extension_workflow_run_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • status
    complete
    or
    errored
    or
    terminated
    required

429

RateLimited
JSON
  • _tag
    RateLimited
    required

500

RepoFailure
JSON
  • _tag
    RepoFailure
    required
  • reason
    string
    required

503

RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON

One of the following:

  • RepoBusyEncoded
    • _tag
      RepoBusy
      required
    • message
      string
      required
  • SessionUnavailableEncoded
    • _tag
      SessionUnavailable
      required
  • RateLimitUnavailableEncoded
    • _tag
      RateLimitUnavailable
      required

Type to search…

↑↓ navigate↵ selectEsc close