Checkers
Endpoints for managing checkers
Retrieves a list of all checkers. Required admin role.
OK
Unauthorized
Forbidden
Conflict
Internal Server Error
GET /api/checkers HTTP/1.1
Host: localhost:8080
Authorization: Bearer JWT
Accept: */*
[
{
"id": 1,
"displayName": "Default Python3 Checker",
"languageHighlightName": "python"
}
]
Creates a new checker. Required admin role.
Details for creating a new checker
Display name of the checker
Python Checker
Language highlight name for the checker
python
Address of the checker service
http://localhost:8080
OK
Unauthorized
Forbidden
Conflict
Internal Server Error
POST /api/checkers HTTP/1.1
Host: localhost:8080
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"displayName": "Python Checker",
"languageHighlightName": "python",
"address": "http://localhost:8080"
}
{
"displayName": "text",
"languageHighlightName": "text",
"address": "text",
"id": 1,
"createdAt": "2025-08-15T21:03:17.184Z",
"updatedAt": "2025-08-15T21:03:17.184Z"
}
Retrieves a checker by its ID. Required admin role.
OK
Unauthorized
Forbidden
Conflict
Internal Server Error
GET /api/checkers/{id} HTTP/1.1
Host: localhost:8080
Authorization: Bearer JWT
Accept: */*
{
"id": 1,
"displayName": "Default Python3 Checker",
"languageHighlightName": "python"
}
Deletes a specific checker by its ID. Required admin role.
OK
Unauthorized
Forbidden
Conflict
Internal Server Error
DELETE /api/checkers/{id} HTTP/1.1
Host: localhost:8080
Authorization: Bearer JWT
Accept: */*
{
"displayName": "text",
"languageHighlightName": "text",
"address": "text",
"id": 1,
"createdAt": "2025-08-15T21:03:17.184Z",
"updatedAt": "2025-08-15T21:03:17.184Z"
}
Applies partial updates to a checker by its ID. Required admin role.
OK
Unauthorized
Forbidden
Conflict
Internal Server Error
PATCH /api/checkers/{id} HTTP/1.1
Host: localhost:8080
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
{
"displayName": "text",
"languageHighlightName": "text",
"address": "text",
"id": 1,
"createdAt": "2025-08-15T21:03:17.184Z",
"updatedAt": "2025-08-15T21:03:17.184Z"
}
Retrieves a checker by its ID with admin-level access. Required admin role.
OK
Unauthorized
Forbidden
Conflict
Internal Server Error
GET /api/checkers/{id}/admin HTTP/1.1
Host: localhost:8080
Authorization: Bearer JWT
Accept: */*
{
"displayName": "text",
"languageHighlightName": "text",
"address": "text",
"id": 1,
"createdAt": "2025-08-15T21:03:17.184Z",
"updatedAt": "2025-08-15T21:03:17.184Z"
}
Was this helpful?