Skip to content
Snippets Groups Projects
Commit 57f4c757 authored by Carsten Hinz's avatar Carsten Hinz
Browse files

fixed endpoints to current TOAR API

parent bb051415
No related branches found
No related tags found
No related merge requests found
VERSION = "0.4.1"
VERSION = "0.4.2"
......@@ -46,7 +46,7 @@ class contributions_manager_by_id(contributors_manager):
self.endpoint = endpoint
self.inline_mode = False
self.contributors_path = contributors_path
self.file_request_path = "request_contributors"
self.file_request_path = "timeseries/request_contributors"
def setup_contributors_endpoint_for_metadata(self):
"""!create the contributors endpoint depending on the intended mode.
......@@ -77,8 +77,8 @@ class contributions_manager_as_service(contributors_manager):
super().__init__(requestID)
self.endpoint = endpoint
self.access_token = access_token
self.register_path = "register_timeseries_list_of_contributors"
self.database_request_path = "request_timeseries_list_of_contributors"
self.register_path = "timeseries/register_timeseries_list_of_contributors"
self.database_request_path = "timeseries/request_timeseries_list_of_contributors"
if self.access_token is not None:
self.headers = {"AccessToken": self.access_token}
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment