updateRepoExtension
Rename an extension or change its description or version. Its package.json pins the @buildr/sdk version its builds link, like any npm package. A released extension keeps its name. A commit that brings main a version higher than the latest release releases it. A rename that leaves a policy naming the extension models by their old name is refused with SchemaChangeBreaksPolicy.
PATCH
/repos/{repo_id}/branches/{branch}/extensions/{name}Path parameters
Request body JSON required
Returns
200
Extension
400
InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
BranchNotFound | ExtensionNotFound | OrgNotFound | RepoNotFound
JSON
One of the following:
- BranchNotFoundEncoded
- ExtensionNotFoundEncoded
- OrgNotFoundEncoded
- RepoNotFoundEncoded
409
ExtensionNameInUse | SchemaChangeBreaksPolicy | ExtensionReleased | ExtensionNameTaken | RepoArchived
JSON
One of the following:
- ExtensionNameInUseEncoded
- SchemaChangeBreaksPolicyEncoded
- ExtensionReleasedEncoded
- ExtensionNameTakenEncoded
- RepoArchivedEncoded
413
WriteTooLarge | RequestBodyTooLarge
JSON
One of the following:
- WriteTooLargeEncoded
- RequestBodyTooLargeEncoded
500
OrgFailure | RepoFailure
JSON
One of the following:
- OrgFailureEncoded
- RepoFailureEncoded
503
RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- RepoBusyEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded