Admin

Set maintenance time

Changed on

Set the scheduled next-maintenance time as Unix seconds. Pass <= 0 to clear it. Exposed to clients via GetSystemConfig.maintenance_time for the countdown banner.

post/admin/maintenance-time

Request

Request body

maintenance_timestring int64

Scheduled next-maintenance time as Unix seconds. Pass <= 0 to clear it.

maintenance_end_timestring int64

Expected maintenance end time as Unix seconds. Pass <= 0 to clear it.

maintenance_messagestring

Free-text announcement shown in the banner. Pass "" to clear it.

Response

A successful response.

maintenance_timestring int64

Maintenance time after the update: Unix seconds, or -1 when cleared.

maintenance_end_timestring int64

Maintenance end time after the update: Unix seconds, or -1 when cleared.

maintenance_messagestring

Message after the update ("" when cleared).

Changes