AlgoJudge documentation0.1
REST reference

Maintenance

GET/admin/maintenance

Response Body

curl -X GET "https://example.com/admin/maintenance"
{  "level": "string",  "since": "string",  "reason": "string"}
POST/admin/maintenance

Query Parameters

on?boolean
reason?string

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/admin/maintenance" \  -H "Content-Type: application/json" \  -d '{    "on": true  }'
{  "level": "string",  "since": "string",  "reason": "string"}