CTF¶
Endpoints¶
- GET
/api/v1/ctf— Lists all CTFs with pagination - GET
/api/v1/ctf/download— Download digitalized CTF
GET /api/v1/ctf¶
Lists all CTFs with pagination
Requires permission: TrfApi.Ctf.List
Parameters¶
| Name | In | Type | Description |
|---|---|---|---|
page |
query | integer (int32) | Current page, starts on 1 |
size |
query | integer (int32) | Page size |
Responses¶
200 OK
Schema: CtfModelPagedApiResponse
400 Bad Request
Schema: ProblemDetails
GET /api/v1/ctf/download¶
Download digitalized CTF
Parameters¶
| Name | In | Type | Description |
|---|---|---|---|
hash |
query | string | Document identifier |
Responses¶
200 OK
Returns: Binary file data
404 Not Found
Schema: ProblemDetails