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.
5.3 KiB
5.3 KiB
swagger_client.RiegeApi
All URIs are relative to /
| Method | HTTP request | Description |
|---|---|---|
| create_riege | POST /riegen | |
| delete_riege | DELETE /riegen/{id} | |
| get_riege | GET /riegen/{id} | |
| get_riegen | GET /riegen | |
| update_riege | PUT /riegen/{id} |
create_riege
Riege create_riege(body)
Example
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 |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_riege
delete_riege(id)
Example
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] [Back to Model list] [Back to README]
get_riege
Riege get_riege(id)
Example
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
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]
get_riegen
RiegeArray get_riegen()
Example
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
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]
update_riege
Riege update_riege(body, id)
Example
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 | ||
| id | int |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]