Dokumentacja AlgoJudge0.1
REST reference

Maintenance

Ta strona jest po angielsku

Polskie tłumaczenie obejmuje sekcje Instalacja i utrzymanie i Korzystanie z AlgoJudge. Pozostałe sekcje są materiałem technicznym i pozostają po angielsku.
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"}