createRepoBranchExtensionWorkflowRun
Start a run of a workflow of the version a branch's head commit publishes, acting as the caller, and answer the run. The body is {"workflow": name, "input": …, "idempotency_key": key}: the input must fit the workflow's input schema, and a key that already names a run of the workflow on the branch answers that run instead of starting another.
POST
/repos/{repo_id}/branches/{branch}/extensions/{name}/workflow-runsPath parameters
Request body JSON required
Returns
201
ExtensionWorkflowRun
JSON
400
ExtensionWorkflowInputTooLarge | ExtensionWorkflowInputTooDeep | ExtensionWorkflowInputDoesNotFit | ExtensionWorkflowInputDoesNotFitAt | InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- ExtensionWorkflowInputTooLargeEncoded
- ExtensionWorkflowInputTooDeepEncoded
- ExtensionWorkflowInputDoesNotFitEncoded
- ExtensionWorkflowInputDoesNotFitAtEncoded
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
BranchNotFound | ExtensionNotFound | ExtensionWorkflowNotFound | RepoNotFound
JSON
One of the following:
- BranchNotFoundEncoded
- ExtensionNotFoundEncoded
- ExtensionWorkflowNotFoundEncoded
- RepoNotFoundEncoded
409
ExtensionPublicationPending | ExtensionNameTaken | ExtensionVersionNotNewer | RepoArchived
JSON
One of the following:
- ExtensionPublicationPendingEncoded
- ExtensionNameTakenEncoded
- ExtensionVersionNotNewerEncoded
- RepoArchivedEncoded
413
WriteTooLarge | RequestBodyTooLarge
JSON
One of the following:
- WriteTooLargeEncoded
- RequestBodyTooLargeEncoded
422
ExtensionBuildFailed | ExtensionNotSelfContained | ExtensionRequiredFieldWithoutDefault | ExtensionDependencyRefused
JSON
One of the following:
- ExtensionBuildFailedEncoded
- ExtensionNotSelfContainedEncoded
- ExtensionRequiredFieldWithoutDefaultEncoded
- ExtensionDependencyRefusedEncoded
500
OrgFailure | RepoFailure
JSON
One of the following:
- OrgFailureEncoded
- RepoFailureEncoded
503
RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- RepoBusyEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded