r1-api-layer 1.0.2

This is the API for the in class project of the TINF22B6 course at DHBW Karlsruhe. Here we create a OSU-like game which also sends some of the game run data to a server to do statistical analysis with Julia.
Documentation
# default_api

All URIs are relative to *https://tbd.freemine.de*

Method | HTTP request | Description
------------- | ------------- | -------------
****](default_api.md#) | **DELETE** /bobby | Calls for Booby Drop Tables
****](default_api.md#) | **POST** /game | Submit game end data
****](default_api.md#) | **GET** /maps | Fetch all existing maps.
****](default_api.md#) | **POST** /register | Creates a User in our System.
****](default_api.md#) | **GET** /statistics | Fetch all statistics
****](default_api.md#) | **GET** /map/{level} | Fetch BeatMap of a specific level.
****](default_api.md#) | **GET** /statistics/{UUID} | Fetch details for a specific run.
****](default_api.md#) | **GET** /user/{UUID} | Gets user Details from UUID.


# ****
> ()
Calls for Booby Drop Tables

https://xkcd.com/327/

### Required Parameters
This endpoint does not need any parameter.

### Return type

 (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

[[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)

# ****
> models::ResultDto (game_end_dto)
Submit game end data

Accepts game end data and returns game result details.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
  **game_end_dto** | [**GameEndDto**]GameEndDto.md|  | 

### Return type

[**models::ResultDto**](ResultDto.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **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)

# ****
> Vec<String> ()
Fetch all existing maps.

Use this route to fetch all possible maps.

### Required Parameters
This endpoint does not need any parameter.

### Return type

[**Vec<String>**](string.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)

# ****
> (create_user_dto)
Creates a User in our System.

This has to be called whenever a new user is added via the oauth callback. As we do want to validate this we take those values as granted.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
  **create_user_dto** | [**CreateUserDto**]CreateUserDto.md|  | 

### Return type

 (empty response body)

### Authorization

No authorization required

### HTTP request headers

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

[[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)

# ****
> Vec<String> ()
Fetch all statistics

Returns an Array with all uploaded Game Runs.

### Required Parameters
This endpoint does not need any parameter.

### Return type

[**Vec<String>**](string.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)

# ****
> Vec<models::MapDto> (level)
Fetch BeatMap of a specific level.

Returns HitPoints with a Timestamp for a given Level.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
  **level** | **String**| Numeric ID of the level to get | 

### Return type

[**Vec<models::MapDto>**](MapDto.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)

# ****
> models::ResultDto (uuid)
Fetch details for a specific run.

Accepts game end data and returns game result details.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
  **uuid** | **String**| Numeric ID of the stat to get | 

### Return type

[**models::ResultDto**](ResultDto.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)

# ****
> models::UserDto (uuid)
Gets user Details from UUID.

Resolves UUID to username and profile picture.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
  **uuid** | **String**| Numeric ID of the user. | 

### Return type

[**models::UserDto**](UserDto.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)