upsertRepoExtensionInstallationSchedule
Turn a schedule the installed version declares on or off on a branch; setting it again to the same value changes nothing. Only main's settings run, and runs act as whoever last turned it on.
PUT
/repos/{repo_id}/branches/{branch}/extension-installations/{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 | ExtensionInstallationNotFound | RepoNotFound
JSON
One of the following:
- BranchNotFoundEncoded
- ExtensionInstallationNotFoundEncoded
- RepoNotFoundEncoded
413
WriteTooLarge | RequestBodyTooLarge
JSON
One of the following:
- WriteTooLargeEncoded
- RequestBodyTooLargeEncoded
422
ExtensionScheduleNotDeclared | WriteRefused
JSON
One of the following:
- ExtensionScheduleNotDeclaredEncoded
- WriteRefusedEncoded
503
RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- RepoBusyEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded