# \AuthApi All URIs are relative to *https://woj.csie.cool* Method | HTTP request | Description ------------- | ------------- | ------------- [**auth**](AuthApi.md#auth) | **GET** /api/auth | [**login**](AuthApi.md#login) | **POST** /api/auth/send | [**me**](AuthApi.md#me) | **GET** /api/me | ## auth > crate::models::Auth200Response auth(token) ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **token** | **String** | | [required] | ### Return type [**crate::models::Auth200Response**](auth_200_response.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## login > crate::models::Login200Response login(login_request) ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **login_request** | Option<[**LoginRequest**](LoginRequest.md)> | | | ### Return type [**crate::models::Login200Response**](login_200_response.md) ### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## me > crate::models::Me200Response me() ### Parameters This endpoint does not need any parameter. ### Return type [**crate::models::Me200Response**](me_200_response.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)