callRepoExtensionTool
Call a tool of the version a branch's head commit publishes, never its uncommitted edits, to try it before releasing; the tool acts as you. Right after a commit it may answer ExtensionPublicationPending: retry shortly.
POST
/repos/{repo_id}/branches/{branch}/extensions/{name}/tools/{tool}Path parameters
Request body JSON required
Returns
200
Success
400
ExtensionToolInputInvalid | InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- ExtensionToolInputInvalidEncoded
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
402
ComputeLimitReached
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
BranchNotFound | ExtensionNotFound | ExtensionToolNotFound | RepoNotFound | OrgNotFound
JSON
One of the following:
- BranchNotFoundEncoded
- ExtensionNotFoundEncoded
- ExtensionToolNotFoundEncoded
- RepoNotFoundEncoded
- OrgNotFoundEncoded
409
ExtensionPublicationPending | ExtensionNameTaken | ExtensionVersionNotNewer | ConnectionRequired | OAuthReconnectRequired | RepoArchived
JSON
One of the following:
- ExtensionPublicationPendingEncoded
- ExtensionNameTakenEncoded
- ExtensionVersionNotNewerEncoded
- ConnectionRequiredEncoded
- OAuthReconnectRequiredEncoded
- RepoArchivedEncoded
413
WriteTooLarge | RequestBodyTooLarge
JSON
One of the following:
- WriteTooLargeEncoded
- RequestBodyTooLargeEncoded
422
ExtensionBuildFailed | ExtensionNotSelfContained | ExtensionRequiredFieldWithoutDefault | ExtensionDependencyRefused | ExtensionToolFailed
JSON
One of the following:
- ExtensionBuildFailedEncoded
- ExtensionNotSelfContainedEncoded
- ExtensionRequiredFieldWithoutDefaultEncoded
- ExtensionDependencyRefusedEncoded
- ExtensionToolFailedEncoded
500
OrgFailure | RepoFailure
JSON
One of the following:
- OrgFailureEncoded
- RepoFailureEncoded
503
OAuthRenewalFailed | RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- OAuthRenewalFailedEncoded
- RepoBusyEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded