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.
2.2 KiB
2.2 KiB
swagger_client.DisziplinApi
All URIs are relative to /
| Method | HTTP request | Description |
|---|---|---|
| get_disziplin | GET /disziplinen/{id} | |
| get_disziplinen | GET /disziplinen |
get_disziplin
Disziplin get_disziplin(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.DisziplinApi()
id = 56 # int |
try:
api_response = api_instance.get_disziplin(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DisziplinApi->get_disziplin: %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_disziplinen
DisziplinArray get_disziplinen()
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.DisziplinApi()
try:
api_response = api_instance.get_disziplinen()
pprint(api_response)
except ApiException as e:
print("Exception when calling DisziplinApi->get_disziplinen: %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]