Rust API client for woj
You can interact with WASM OJ Wonderland through this API
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 0.0.0
- Package version: 0.0.1
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named woj
and add the following to Cargo.toml
under [dependencies]
:
woj = { path = "./woj" }
Documentation for API Endpoints
All URIs are relative to https://woj.csie.cool
Class | Method | HTTP request | Description |
---|---|---|---|
AuthApi | api_auth_get | GET /api/auth | |
AuthApi | api_auth_send_post | POST /api/auth/send | |
DefaultApi | api_me_get | GET /api/me | |
DefaultApi | api_sys_get | GET /api/sys | |
ProblemApi | api_problem_get | GET /api/problem | |
ProblemApi | api_problem_id_get | GET /api/problem/{id} | |
SubmissionApi | api_submission_get | GET /api/submission | |
SubmissionApi | api_submission_id_get | GET /api/submission/{id} | |
SubmissionApi | api_submission_post | POST /api/submission |
Documentation For Models
- ApiAuthGet200Response
- ApiAuthSendPost200Response
- ApiAuthSendPost400Response
- ApiAuthSendPostRequest
- ApiMeGet200Response
- ApiProblemGet200Response
- ApiProblemGet200ResponseProblemsInner
- ApiProblemIdGet200Response
- ApiProblemIdGet200ResponseProblem
- ApiProblemIdGet200ResponseProblemPolicyInner
- ApiProblemIdGet200ResponseProblemTestcaseInner
- ApiSubmissionGet200Response
- ApiSubmissionGet200ResponseSubmissionsInner
- ApiSubmissionIdGet200Response
- ApiSubmissionIdGet200ResponseSubmission
- ApiSubmissionPost200Response
- ApiSubmissionPostRequest
- ApiSysGet200Response
- ApiSysGet200ResponseCfg
- ApiSysGet200ResponseStat
To get access to the crate's generated documentation, use:
cargo doc --open