diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-12-09 13:01:20 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-12-09 13:01:20 +0100 |
| commit | 24a1c946b7017237627d69d293c05237d9b96ca5 (patch) | |
| tree | fc9669287a86df5bc863507743ca9961519bef86 /crates/rocie-client/docs/ApiSetNoAuthUserApi.md | |
| parent | chore(crates/rocie-client): Re-generate (diff) | |
| download | server-24a1c946b7017237627d69d293c05237d9b96ca5.zip | |
chore(rocie-client): Regenerate
This also adds cookie persisting to the default configuration.
Diffstat (limited to 'crates/rocie-client/docs/ApiSetNoAuthUserApi.md')
| -rw-r--r-- | crates/rocie-client/docs/ApiSetNoAuthUserApi.md | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/crates/rocie-client/docs/ApiSetNoAuthUserApi.md b/crates/rocie-client/docs/ApiSetNoAuthUserApi.md new file mode 100644 index 0000000..f532533 --- /dev/null +++ b/crates/rocie-client/docs/ApiSetNoAuthUserApi.md @@ -0,0 +1,94 @@ +# \ApiSetNoAuthUserApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**login**](ApiSetNoAuthUserApi.md#login) | **POST** /login | Log in as a specific user +[**logout**](ApiSetNoAuthUserApi.md#logout) | **POST** /logout | Log the current user out +[**provision**](ApiSetNoAuthUserApi.md#provision) | **POST** /provision | Provision this instance. + + + +## login + +> login(login_info) +Log in as a specific user + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**login_info** | [**LoginInfo**](LoginInfo.md) | | [required] | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: text/plain + +[[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) + + +## logout + +> logout() +Log the current user out + +### 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**: text/plain + +[[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) + + +## provision + +> models::UserId provision(user_stub) +Provision this instance. + +This only works, if no users exist yet. + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**user_stub** | [**UserStub**](UserStub.md) | | [required] | + +### Return type + +[**models::UserId**](UserId.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json, text/plain + +[[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) + |
