All URIs are relative to https://pure.mpg.de/rest
Method | HTTP request | Description |
---|---|---|
create_using_post4 | POST /yearbooks | create |
delete_using_delete4 | DELETE /yearbooks/{yearbookId} | delete |
get_all_using_get3 | GET /yearbooks | getAll |
get_items_using_get | GET /yearbooks/{yearbookId}/items | getItems |
get_using_get4 | GET /yearbooks/{yearbookId} | get |
query_using_post2 | POST /yearbooks/search | query |
update_using_put4 | PUT /yearbooks/{yearbookId} | update |
YearbookDbVO create_using_post4(authorization, yearbook)
create
from __future__ import print_function
import time
import mpg_pure
from mpg_pure.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = mpg_pure.YearbooksApi()
authorization = 'authorization_example' # str | Authorization
yearbook = mpg_pure.YearbookDbVO() # YearbookDbVO | yearbook
try:
# create
api_response = api_instance.create_using_post4(authorization, yearbook)
pprint(api_response)
except ApiException as e:
print("Exception when calling YearbooksApi->create_using_post4: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
authorization | str | Authorization | |
yearbook | YearbookDbVO | yearbook |
No authorization required
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object delete_using_delete4(authorization, yearbook_id)
delete
from __future__ import print_function
import time
import mpg_pure
from mpg_pure.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = mpg_pure.YearbooksApi()
authorization = 'authorization_example' # str | Authorization
yearbook_id = 'yearbook_id_example' # str | yearbookId
try:
# delete
api_response = api_instance.delete_using_delete4(authorization, yearbook_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling YearbooksApi->delete_using_delete4: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
authorization | str | Authorization | |
yearbook_id | str | yearbookId |
object
No authorization required
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SearchRetrieveResponseVOYearbookDbVO get_all_using_get3(authorization=authorization, _from=_from, size=size)
getAll
from __future__ import print_function
import time
import mpg_pure
from mpg_pure.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = mpg_pure.YearbooksApi()
authorization = 'authorization_example' # str | Authorization (optional)
_from = 0 # int | from (optional) (default to 0)
size = 10 # int | size (optional) (default to 10)
try:
# getAll
api_response = api_instance.get_all_using_get3(authorization=authorization, _from=_from, size=size)
pprint(api_response)
except ApiException as e:
print("Exception when calling YearbooksApi->get_all_using_get3: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
authorization | str | Authorization | [optional] |
_from | int | from | [optional] [default to 0] |
size | int | size | [optional] [default to 10] |
SearchRetrieveResponseVOYearbookDbVO
No authorization required
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SearchRetrieveResponseVOItemVersionVO get_items_using_get(yearbook_id, authorization=authorization, citation=citation, csl_cone_id=csl_cone_id, format=format)
getItems
from __future__ import print_function
import time
import mpg_pure
from mpg_pure.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = mpg_pure.YearbooksApi()
yearbook_id = 'yearbook_id_example' # str | yearbookId
authorization = 'authorization_example' # str | Authorization (optional)
citation = 'APA' # str | citation (optional) (default to APA)
csl_cone_id = 'csl_cone_id_example' # str | cslConeId (optional)
format = 'json' # str | format (optional) (default to json)
try:
# getItems
api_response = api_instance.get_items_using_get(yearbook_id, authorization=authorization, citation=citation, csl_cone_id=csl_cone_id, format=format)
pprint(api_response)
except ApiException as e:
print("Exception when calling YearbooksApi->get_items_using_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
yearbook_id | str | yearbookId | |
authorization | str | Authorization | [optional] |
citation | str | citation | [optional] [default to APA] |
csl_cone_id | str | cslConeId | [optional] |
format | str | format | [optional] [default to json] |
SearchRetrieveResponseVOItemVersionVO
No authorization required
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
YearbookDbVO get_using_get4(yearbook_id, authorization=authorization)
get
from __future__ import print_function
import time
import mpg_pure
from mpg_pure.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = mpg_pure.YearbooksApi()
yearbook_id = 'yearbook_id_example' # str | yearbookId
authorization = 'authorization_example' # str | Authorization (optional)
try:
# get
api_response = api_instance.get_using_get4(yearbook_id, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling YearbooksApi->get_using_get4: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
yearbook_id | str | yearbookId | |
authorization | str | Authorization | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SearchRetrieveResponseVOYearbookDbVO query_using_post2(query, authorization=authorization)
query
from __future__ import print_function
import time
import mpg_pure
from mpg_pure.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = mpg_pure.YearbooksApi()
query = mpg_pure.JsonNode() # JsonNode | query
authorization = 'authorization_example' # str | Authorization (optional)
try:
# query
api_response = api_instance.query_using_post2(query, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling YearbooksApi->query_using_post2: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
query | JsonNode | query | |
authorization | str | Authorization | [optional] |
SearchRetrieveResponseVOYearbookDbVO
No authorization required
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
YearbookDbVO update_using_put4(authorization, yearbook, yearbook_id)
update
from __future__ import print_function
import time
import mpg_pure
from mpg_pure.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = mpg_pure.YearbooksApi()
authorization = 'authorization_example' # str | Authorization
yearbook = mpg_pure.YearbookDbVO() # YearbookDbVO | yearbook
yearbook_id = 'yearbook_id_example' # str | yearbookId
try:
# update
api_response = api_instance.update_using_put4(authorization, yearbook, yearbook_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling YearbooksApi->update_using_put4: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
authorization | str | Authorization | |
yearbook | YearbookDbVO | yearbook | |
yearbook_id | str | yearbookId |
No authorization required
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]