Skip to content

Latest commit

 

History

History
99 lines (53 loc) · 2.67 KB

SubmissionApi.md

File metadata and controls

99 lines (53 loc) · 2.67 KB

\SubmissionApi

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

get_submission

crate::models::GetSubmission200Response get_submission(id)

Parameters

Name Type Description Required Notes
id String [required]

Return type

crate::models::GetSubmission200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_submissions

crate::models::ListSubmissions200Response list_submissions(page, lang, problem, status, submitter)

Parameters

Name Type Description Required Notes
page Option<String> [default to 1]
lang Option<String>
problem Option<String>
status Option<String>
submitter Option<String>

Return type

crate::models::ListSubmissions200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

submit

crate::models::Submit200Response submit(submit_request)

Parameters

Name Type Description Required Notes
submit_request Option<SubmitRequest>

Return type

crate::models::Submit200Response

Authorization

bearerAuth

HTTP request headers

  • 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]