All URIs are relative to https://woj.csie.cool
Method | HTTP request | Description |
---|---|---|
get_submission | GET /api/submission/{id} | |
list_submissions | GET /api/submission | |
submit | POST /api/submission |
crate::models::GetSubmission200Response get_submission(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | String | [required] |
crate::models::GetSubmission200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ListSubmissions200Response list_submissions(page, lang, problem, status, submitter)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
page | Option<String> | [default to 1] | ||
lang | Option<String> | |||
problem | Option<String> | |||
status | Option<String> | |||
submitter | Option<String> |
crate::models::ListSubmissions200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Submit200Response submit(submit_request)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
submit_request | Option<SubmitRequest> |
crate::models::Submit200Response
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]