Answer
Endpoints for answers
Retrieves answer details by its ID. Requires access to the answer.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idinteger · int64Required
Responses
200
OK
*/*
401
Unauthorized
*/*
403
Forbidden
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
/api/answers/{id}Retrieves the most recent answer submitted by a specific user for a specific competition problem. Required admin role.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
compProblemIdinteger · int64Required
The ID of CompetitionProblem id
userIdinteger · int64Required
The ID of the user
Responses
200
OK
*/*
401
Unauthorized
*/*
403
Forbidden
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
/api/answers/lastLast updated
Was this helpful?