You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
235 lines
5.3 KiB
Markdown
235 lines
5.3 KiB
Markdown
# swagger_client.RiegeApi
|
|
|
|
All URIs are relative to */*
|
|
|
|
Method | HTTP request | Description
|
|
------------- | ------------- | -------------
|
|
[**create_riege**](RiegeApi.md#create_riege) | **POST** /riegen |
|
|
[**delete_riege**](RiegeApi.md#delete_riege) | **DELETE** /riegen/{id} |
|
|
[**get_riege**](RiegeApi.md#get_riege) | **GET** /riegen/{id} |
|
|
[**get_riegen**](RiegeApi.md#get_riegen) | **GET** /riegen |
|
|
[**update_riege**](RiegeApi.md#update_riege) | **PUT** /riegen/{id} |
|
|
|
|
# **create_riege**
|
|
> Riege create_riege(body)
|
|
|
|
|
|
|
|
### Example
|
|
```python
|
|
from __future__ import print_function
|
|
import time
|
|
import swagger_client
|
|
from swagger_client.rest import ApiException
|
|
from pprint import pprint
|
|
|
|
# create an instance of the API class
|
|
api_instance = swagger_client.RiegeApi()
|
|
body = swagger_client.RiegePayload() # RiegePayload |
|
|
|
|
try:
|
|
api_response = api_instance.create_riege(body)
|
|
pprint(api_response)
|
|
except ApiException as e:
|
|
print("Exception when calling RiegeApi->create_riege: %s\n" % e)
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**body** | [**RiegePayload**](RiegePayload.md)| |
|
|
|
|
### Return type
|
|
|
|
[**Riege**](Riege.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)
|
|
|
|
# **delete_riege**
|
|
> delete_riege(id)
|
|
|
|
|
|
|
|
### Example
|
|
```python
|
|
from __future__ import print_function
|
|
import time
|
|
import swagger_client
|
|
from swagger_client.rest import ApiException
|
|
from pprint import pprint
|
|
|
|
# create an instance of the API class
|
|
api_instance = swagger_client.RiegeApi()
|
|
id = 56 # int |
|
|
|
|
try:
|
|
api_instance.delete_riege(id)
|
|
except ApiException as e:
|
|
print("Exception when calling RiegeApi->delete_riege: %s\n" % e)
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**id** | **int**| |
|
|
|
|
### Return type
|
|
|
|
void (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)
|
|
|
|
# **get_riege**
|
|
> Riege get_riege(id)
|
|
|
|
|
|
|
|
### Example
|
|
```python
|
|
from __future__ import print_function
|
|
import time
|
|
import swagger_client
|
|
from swagger_client.rest import ApiException
|
|
from pprint import pprint
|
|
|
|
# create an instance of the API class
|
|
api_instance = swagger_client.RiegeApi()
|
|
id = 56 # int |
|
|
|
|
try:
|
|
api_response = api_instance.get_riege(id)
|
|
pprint(api_response)
|
|
except ApiException as e:
|
|
print("Exception when calling RiegeApi->get_riege: %s\n" % e)
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**id** | **int**| |
|
|
|
|
### Return type
|
|
|
|
[**Riege**](Riege.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)
|
|
|
|
# **get_riegen**
|
|
> RiegeArray get_riegen()
|
|
|
|
|
|
|
|
### Example
|
|
```python
|
|
from __future__ import print_function
|
|
import time
|
|
import swagger_client
|
|
from swagger_client.rest import ApiException
|
|
from pprint import pprint
|
|
|
|
# create an instance of the API class
|
|
api_instance = swagger_client.RiegeApi()
|
|
|
|
try:
|
|
api_response = api_instance.get_riegen()
|
|
pprint(api_response)
|
|
except ApiException as e:
|
|
print("Exception when calling RiegeApi->get_riegen: %s\n" % e)
|
|
```
|
|
|
|
### Parameters
|
|
This endpoint does not need any parameter.
|
|
|
|
### Return type
|
|
|
|
[**RiegeArray**](RiegeArray.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)
|
|
|
|
# **update_riege**
|
|
> Riege update_riege(body, id)
|
|
|
|
|
|
|
|
### Example
|
|
```python
|
|
from __future__ import print_function
|
|
import time
|
|
import swagger_client
|
|
from swagger_client.rest import ApiException
|
|
from pprint import pprint
|
|
|
|
# create an instance of the API class
|
|
api_instance = swagger_client.RiegeApi()
|
|
body = swagger_client.RiegePayload() # RiegePayload |
|
|
id = 56 # int |
|
|
|
|
try:
|
|
api_response = api_instance.update_riege(body, id)
|
|
pprint(api_response)
|
|
except ApiException as e:
|
|
print("Exception when calling RiegeApi->update_riege: %s\n" % e)
|
|
```
|
|
|
|
### Parameters
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**body** | [**RiegePayload**](RiegePayload.md)| |
|
|
**id** | **int**| |
|
|
|
|
### Return type
|
|
|
|
[**Riege**](Riege.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)
|
|
|