Skip to content

Latest commit

 

History

History
92 lines (47 loc) · 2.13 KB

AuthApi.md

File metadata and controls

92 lines (47 loc) · 2.13 KB

\AuthApi

All URIs are relative to https://woj.csie.cool

Method HTTP request Description
auth GET /api/auth
login POST /api/auth/send
me GET /api/me

auth

crate::models::Auth200Response auth(token)

Parameters

Name Type Description Required Notes
token String [required]

Return type

crate::models::Auth200Response

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]

login

crate::models::Login200Response login(login_request)

Parameters

Name Type Description Required Notes
login_request Option<LoginRequest>

Return type

crate::models::Login200Response

Authorization

No authorization required

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]

me

crate::models::Me200Response me()

Parameters

This endpoint does not need any parameter.

Return type

crate::models::Me200Response

Authorization

bearerAuth

HTTP request headers

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

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