latestOpenAPI 3.1.02026-08-1963241304.5 KB

ae394a06c465

scheduled_freeze

Create a scheduled freeze

Create a scheduled freeze for the repository specified in the path

post/repos/{owner}/{repository}/scheduled_freeze

Path parameters

ownerstring required

The owner of the repository

The owner of the repository

repositorystring required

The name of the repository

The name of the repository

Request body

reasonstring required

The reason for the scheduled freeze.

startstring date-time nullable required

When the scheduled freeze begins (date and time in ISO 8601 format without TZ). Begins now if the attribute is null.

endstring date-time nullable

When the scheduled freeze ends (date and time in ISO 8601 format without TZ).

timezonestring required

Timezone where the freeze is expected to happen.

Response

Successful Response

idstring uuid required
reasonstring required
startstring date-time required
endstring date-time nullable required
timezonestring required