upsertRepoExtensionSchedule
Turn a schedule that the version a branch's head publishes declares on or off on that branch; commit and merge it into main, whose committed settings run the repo's own extensions' schedules at the version main's head publishes. Runs act as whoever last turned it on.
PUT
/repos/{repo_id}/branches/{branch}/extensions/{name}/schedules/{schedule}Path parameters
Request body JSON required
Returns
200
ExtensionScheduleState
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 | RepoNotFound
JSON
One of the following:
- BranchNotFoundEncoded
- ExtensionNotFoundEncoded
- 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 | ExtensionScheduleNotDeclared | WriteRefused
JSON
One of the following:
- ExtensionBuildFailedEncoded
- ExtensionNotSelfContainedEncoded
- ExtensionRequiredFieldWithoutDefaultEncoded
- ExtensionDependencyRefusedEncoded
- ExtensionScheduleNotDeclaredEncoded
- WriteRefusedEncoded
503
RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- RepoBusyEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded