From b986f7df14bbdbbd24addfdb8430f0784d8643ed Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 Mar 2024 00:09:46 +0000 Subject: [PATCH] 707419e54cab3860cb09f6c77a543ea1ffdca630 --- README.md | 6 +++--- docs/AnalysesApi.md | 16 ++++++++-------- docs/AnnotationsApi.md | 16 ++++++++-------- docs/StoreApi.md | 16 ++++++++-------- neurostore_sdk/api/analyses_api.py | 20 ++++++++++---------- neurostore_sdk/api/annotations_api.py | 20 ++++++++++---------- neurostore_sdk/api/store_api.py | 20 ++++++++++---------- 7 files changed, 57 insertions(+), 57 deletions(-) diff --git a/README.md b/README.md index 45e8db0..89fd4f9 100644 --- a/README.md +++ b/README.md @@ -101,11 +101,11 @@ Class | Method | HTTP request | Description *AnalysesApi* | [**annotation_analyses_get**](docs/AnalysesApi.md#annotation_analyses_get) | **GET** /annotation-analyses/ | Get annotation analyses *AnalysesApi* | [**annotation_analyses_id_get**](docs/AnalysesApi.md#annotation_analyses_id_get) | **GET** /annotation-analyses/{id} | Your GET endpoint *AnalysesApi* | [**annotation_analyses_id_put**](docs/AnalysesApi.md#annotation_analyses_id_put) | **PUT** /annotation-analyses/{id} | Your PUT endpoint -*AnalysesApi* | [**annotation_analyses_put**](docs/AnalysesApi.md#annotation_analyses_put) | **PUT** /annotation-analyses/ | Your PUT endpoint +*AnalysesApi* | [**annotation_analyses_post**](docs/AnalysesApi.md#annotation_analyses_post) | **POST** /annotation-analyses/ | Your POST endpoint *AnnotationsApi* | [**annotation_analyses_get**](docs/AnnotationsApi.md#annotation_analyses_get) | **GET** /annotation-analyses/ | Get annotation analyses *AnnotationsApi* | [**annotation_analyses_id_get**](docs/AnnotationsApi.md#annotation_analyses_id_get) | **GET** /annotation-analyses/{id} | Your GET endpoint *AnnotationsApi* | [**annotation_analyses_id_put**](docs/AnnotationsApi.md#annotation_analyses_id_put) | **PUT** /annotation-analyses/{id} | Your PUT endpoint -*AnnotationsApi* | [**annotation_analyses_put**](docs/AnnotationsApi.md#annotation_analyses_put) | **PUT** /annotation-analyses/ | Your PUT endpoint +*AnnotationsApi* | [**annotation_analyses_post**](docs/AnnotationsApi.md#annotation_analyses_post) | **POST** /annotation-analyses/ | Your POST endpoint *AnnotationsApi* | [**annotations_get**](docs/AnnotationsApi.md#annotations_get) | **GET** /annotations/ | Your GET endpoint *AnnotationsApi* | [**annotations_id_delete**](docs/AnnotationsApi.md#annotations_id_delete) | **DELETE** /annotations/{id} | DELETE an annotation *AnnotationsApi* | [**annotations_id_get**](docs/AnnotationsApi.md#annotations_id_get) | **GET** /annotations/{id} | Your GET endpoint @@ -134,7 +134,7 @@ Class | Method | HTTP request | Description *StoreApi* | [**annotation_analyses_get**](docs/StoreApi.md#annotation_analyses_get) | **GET** /annotation-analyses/ | Get annotation analyses *StoreApi* | [**annotation_analyses_id_get**](docs/StoreApi.md#annotation_analyses_id_get) | **GET** /annotation-analyses/{id} | Your GET endpoint *StoreApi* | [**annotation_analyses_id_put**](docs/StoreApi.md#annotation_analyses_id_put) | **PUT** /annotation-analyses/{id} | Your PUT endpoint -*StoreApi* | [**annotation_analyses_put**](docs/StoreApi.md#annotation_analyses_put) | **PUT** /annotation-analyses/ | Your PUT endpoint +*StoreApi* | [**annotation_analyses_post**](docs/StoreApi.md#annotation_analyses_post) | **POST** /annotation-analyses/ | Your POST endpoint *StoreApi* | [**annotations_get**](docs/StoreApi.md#annotations_get) | **GET** /annotations/ | Your GET endpoint *StoreApi* | [**annotations_id_delete**](docs/StoreApi.md#annotations_id_delete) | **DELETE** /annotations/{id} | DELETE an annotation *StoreApi* | [**annotations_id_get**](docs/StoreApi.md#annotations_id_get) | **GET** /annotations/{id} | Your GET endpoint diff --git a/docs/AnalysesApi.md b/docs/AnalysesApi.md index b29939c..fff4bc9 100644 --- a/docs/AnalysesApi.md +++ b/docs/AnalysesApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description [**annotation_analyses_get**](AnalysesApi.md#annotation_analyses_get) | **GET** /annotation-analyses/ | Get annotation analyses [**annotation_analyses_id_get**](AnalysesApi.md#annotation_analyses_id_get) | **GET** /annotation-analyses/{id} | Your GET endpoint [**annotation_analyses_id_put**](AnalysesApi.md#annotation_analyses_id_put) | **PUT** /annotation-analyses/{id} | Your PUT endpoint -[**annotation_analyses_put**](AnalysesApi.md#annotation_analyses_put) | **PUT** /annotation-analyses/ | Your PUT endpoint +[**annotation_analyses_post**](AnalysesApi.md#annotation_analyses_post) | **POST** /annotation-analyses/ | Your POST endpoint # **analyses_get** @@ -606,10 +606,10 @@ Name | Type | Description | Notes [[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) -# **annotation_analyses_put** -> NoteCollectionReturn annotation_analyses_put(note_collection_request=note_collection_request) +# **annotation_analyses_post** +> NoteCollectionReturn annotation_analyses_post(note_collection_request=note_collection_request) -Your PUT endpoint +Your POST endpoint ### Example @@ -636,12 +636,12 @@ with neurostore_sdk.ApiClient(configuration) as api_client: note_collection_request = [neurostore_sdk.NoteCollectionRequest()] # List[NoteCollectionRequest] | (optional) try: - # Your PUT endpoint - api_response = api_instance.annotation_analyses_put(note_collection_request=note_collection_request) - print("The response of AnalysesApi->annotation_analyses_put:\n") + # Your POST endpoint + api_response = api_instance.annotation_analyses_post(note_collection_request=note_collection_request) + print("The response of AnalysesApi->annotation_analyses_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling AnalysesApi->annotation_analyses_put: %s\n" % e) + print("Exception when calling AnalysesApi->annotation_analyses_post: %s\n" % e) ``` diff --git a/docs/AnnotationsApi.md b/docs/AnnotationsApi.md index 20e2609..77daa9a 100644 --- a/docs/AnnotationsApi.md +++ b/docs/AnnotationsApi.md @@ -7,7 +7,7 @@ Method | HTTP request | Description [**annotation_analyses_get**](AnnotationsApi.md#annotation_analyses_get) | **GET** /annotation-analyses/ | Get annotation analyses [**annotation_analyses_id_get**](AnnotationsApi.md#annotation_analyses_id_get) | **GET** /annotation-analyses/{id} | Your GET endpoint [**annotation_analyses_id_put**](AnnotationsApi.md#annotation_analyses_id_put) | **PUT** /annotation-analyses/{id} | Your PUT endpoint -[**annotation_analyses_put**](AnnotationsApi.md#annotation_analyses_put) | **PUT** /annotation-analyses/ | Your PUT endpoint +[**annotation_analyses_post**](AnnotationsApi.md#annotation_analyses_post) | **POST** /annotation-analyses/ | Your POST endpoint [**annotations_get**](AnnotationsApi.md#annotations_get) | **GET** /annotations/ | Your GET endpoint [**annotations_id_delete**](AnnotationsApi.md#annotations_id_delete) | **DELETE** /annotations/{id} | DELETE an annotation [**annotations_id_get**](AnnotationsApi.md#annotations_id_get) | **GET** /annotations/{id} | Your GET endpoint @@ -227,10 +227,10 @@ Name | Type | Description | Notes [[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) -# **annotation_analyses_put** -> NoteCollectionReturn annotation_analyses_put(note_collection_request=note_collection_request) +# **annotation_analyses_post** +> NoteCollectionReturn annotation_analyses_post(note_collection_request=note_collection_request) -Your PUT endpoint +Your POST endpoint ### Example @@ -257,12 +257,12 @@ with neurostore_sdk.ApiClient(configuration) as api_client: note_collection_request = [neurostore_sdk.NoteCollectionRequest()] # List[NoteCollectionRequest] | (optional) try: - # Your PUT endpoint - api_response = api_instance.annotation_analyses_put(note_collection_request=note_collection_request) - print("The response of AnnotationsApi->annotation_analyses_put:\n") + # Your POST endpoint + api_response = api_instance.annotation_analyses_post(note_collection_request=note_collection_request) + print("The response of AnnotationsApi->annotation_analyses_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling AnnotationsApi->annotation_analyses_put: %s\n" % e) + print("Exception when calling AnnotationsApi->annotation_analyses_post: %s\n" % e) ``` diff --git a/docs/StoreApi.md b/docs/StoreApi.md index 1781ed7..9f29e52 100644 --- a/docs/StoreApi.md +++ b/docs/StoreApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description [**annotation_analyses_get**](StoreApi.md#annotation_analyses_get) | **GET** /annotation-analyses/ | Get annotation analyses [**annotation_analyses_id_get**](StoreApi.md#annotation_analyses_id_get) | **GET** /annotation-analyses/{id} | Your GET endpoint [**annotation_analyses_id_put**](StoreApi.md#annotation_analyses_id_put) | **PUT** /annotation-analyses/{id} | Your PUT endpoint -[**annotation_analyses_put**](StoreApi.md#annotation_analyses_put) | **PUT** /annotation-analyses/ | Your PUT endpoint +[**annotation_analyses_post**](StoreApi.md#annotation_analyses_post) | **POST** /annotation-analyses/ | Your POST endpoint [**annotations_get**](StoreApi.md#annotations_get) | **GET** /annotations/ | Your GET endpoint [**annotations_id_delete**](StoreApi.md#annotations_id_delete) | **DELETE** /annotations/{id} | DELETE an annotation [**annotations_id_get**](StoreApi.md#annotations_id_get) | **GET** /annotations/{id} | Your GET endpoint @@ -639,10 +639,10 @@ Name | Type | Description | Notes [[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) -# **annotation_analyses_put** -> NoteCollectionReturn annotation_analyses_put(note_collection_request=note_collection_request) +# **annotation_analyses_post** +> NoteCollectionReturn annotation_analyses_post(note_collection_request=note_collection_request) -Your PUT endpoint +Your POST endpoint ### Example @@ -669,12 +669,12 @@ with neurostore_sdk.ApiClient(configuration) as api_client: note_collection_request = [neurostore_sdk.NoteCollectionRequest()] # List[NoteCollectionRequest] | (optional) try: - # Your PUT endpoint - api_response = api_instance.annotation_analyses_put(note_collection_request=note_collection_request) - print("The response of StoreApi->annotation_analyses_put:\n") + # Your POST endpoint + api_response = api_instance.annotation_analyses_post(note_collection_request=note_collection_request) + print("The response of StoreApi->annotation_analyses_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling StoreApi->annotation_analyses_put: %s\n" % e) + print("Exception when calling StoreApi->annotation_analyses_post: %s\n" % e) ``` diff --git a/neurostore_sdk/api/analyses_api.py b/neurostore_sdk/api/analyses_api.py index d60ceef..e65d06c 100644 --- a/neurostore_sdk/api/analyses_api.py +++ b/neurostore_sdk/api/analyses_api.py @@ -1248,13 +1248,13 @@ def annotation_analyses_id_put_with_http_info(self, id : StrictStr, note_collect _request_auth=_params.get('_request_auth')) @validate_arguments - def annotation_analyses_put(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> NoteCollectionReturn: # noqa: E501 - """Your PUT endpoint # noqa: E501 + def annotation_analyses_post(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> NoteCollectionReturn: # noqa: E501 + """Your POST endpoint # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.annotation_analyses_put(note_collection_request, async_req=True) + >>> thread = api.annotation_analyses_post(note_collection_request, async_req=True) >>> result = thread.get() :param note_collection_request: @@ -1272,17 +1272,17 @@ def annotation_analyses_put(self, note_collection_request : Optional[conlist(Not """ kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: - raise ValueError("Error! Please call the annotation_analyses_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") - return self.annotation_analyses_put_with_http_info(note_collection_request, **kwargs) # noqa: E501 + raise ValueError("Error! Please call the annotation_analyses_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") + return self.annotation_analyses_post_with_http_info(note_collection_request, **kwargs) # noqa: E501 @validate_arguments - def annotation_analyses_put_with_http_info(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> ApiResponse: # noqa: E501 - """Your PUT endpoint # noqa: E501 + def annotation_analyses_post_with_http_info(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> ApiResponse: # noqa: E501 + """Your POST endpoint # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.annotation_analyses_put_with_http_info(note_collection_request, async_req=True) + >>> thread = api.annotation_analyses_post_with_http_info(note_collection_request, async_req=True) >>> result = thread.get() :param note_collection_request: @@ -1334,7 +1334,7 @@ def annotation_analyses_put_with_http_info(self, note_collection_request : Optio if _key not in _all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method annotation_analyses_put" % _key + " to method annotation_analyses_post" % _key ) _params[_key] = _val del _params['kwargs'] @@ -1375,7 +1375,7 @@ def annotation_analyses_put_with_http_info(self, note_collection_request : Optio } return self.api_client.call_api( - '/annotation-analyses/', 'PUT', + '/annotation-analyses/', 'POST', _path_params, _query_params, _header_params, diff --git a/neurostore_sdk/api/annotations_api.py b/neurostore_sdk/api/annotations_api.py index c876155..0719d2d 100644 --- a/neurostore_sdk/api/annotations_api.py +++ b/neurostore_sdk/api/annotations_api.py @@ -471,13 +471,13 @@ def annotation_analyses_id_put_with_http_info(self, id : StrictStr, note_collect _request_auth=_params.get('_request_auth')) @validate_arguments - def annotation_analyses_put(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> NoteCollectionReturn: # noqa: E501 - """Your PUT endpoint # noqa: E501 + def annotation_analyses_post(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> NoteCollectionReturn: # noqa: E501 + """Your POST endpoint # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.annotation_analyses_put(note_collection_request, async_req=True) + >>> thread = api.annotation_analyses_post(note_collection_request, async_req=True) >>> result = thread.get() :param note_collection_request: @@ -495,17 +495,17 @@ def annotation_analyses_put(self, note_collection_request : Optional[conlist(Not """ kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: - raise ValueError("Error! Please call the annotation_analyses_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") - return self.annotation_analyses_put_with_http_info(note_collection_request, **kwargs) # noqa: E501 + raise ValueError("Error! Please call the annotation_analyses_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") + return self.annotation_analyses_post_with_http_info(note_collection_request, **kwargs) # noqa: E501 @validate_arguments - def annotation_analyses_put_with_http_info(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> ApiResponse: # noqa: E501 - """Your PUT endpoint # noqa: E501 + def annotation_analyses_post_with_http_info(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> ApiResponse: # noqa: E501 + """Your POST endpoint # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.annotation_analyses_put_with_http_info(note_collection_request, async_req=True) + >>> thread = api.annotation_analyses_post_with_http_info(note_collection_request, async_req=True) >>> result = thread.get() :param note_collection_request: @@ -557,7 +557,7 @@ def annotation_analyses_put_with_http_info(self, note_collection_request : Optio if _key not in _all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method annotation_analyses_put" % _key + " to method annotation_analyses_post" % _key ) _params[_key] = _val del _params['kwargs'] @@ -598,7 +598,7 @@ def annotation_analyses_put_with_http_info(self, note_collection_request : Optio } return self.api_client.call_api( - '/annotation-analyses/', 'PUT', + '/annotation-analyses/', 'POST', _path_params, _query_params, _header_params, diff --git a/neurostore_sdk/api/store_api.py b/neurostore_sdk/api/store_api.py index e38a36b..e0a0a2d 100644 --- a/neurostore_sdk/api/store_api.py +++ b/neurostore_sdk/api/store_api.py @@ -1270,13 +1270,13 @@ def annotation_analyses_id_put_with_http_info(self, id : StrictStr, note_collect _request_auth=_params.get('_request_auth')) @validate_arguments - def annotation_analyses_put(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> NoteCollectionReturn: # noqa: E501 - """Your PUT endpoint # noqa: E501 + def annotation_analyses_post(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> NoteCollectionReturn: # noqa: E501 + """Your POST endpoint # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.annotation_analyses_put(note_collection_request, async_req=True) + >>> thread = api.annotation_analyses_post(note_collection_request, async_req=True) >>> result = thread.get() :param note_collection_request: @@ -1294,17 +1294,17 @@ def annotation_analyses_put(self, note_collection_request : Optional[conlist(Not """ kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: - raise ValueError("Error! Please call the annotation_analyses_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") - return self.annotation_analyses_put_with_http_info(note_collection_request, **kwargs) # noqa: E501 + raise ValueError("Error! Please call the annotation_analyses_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") + return self.annotation_analyses_post_with_http_info(note_collection_request, **kwargs) # noqa: E501 @validate_arguments - def annotation_analyses_put_with_http_info(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> ApiResponse: # noqa: E501 - """Your PUT endpoint # noqa: E501 + def annotation_analyses_post_with_http_info(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> ApiResponse: # noqa: E501 + """Your POST endpoint # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.annotation_analyses_put_with_http_info(note_collection_request, async_req=True) + >>> thread = api.annotation_analyses_post_with_http_info(note_collection_request, async_req=True) >>> result = thread.get() :param note_collection_request: @@ -1356,7 +1356,7 @@ def annotation_analyses_put_with_http_info(self, note_collection_request : Optio if _key not in _all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method annotation_analyses_put" % _key + " to method annotation_analyses_post" % _key ) _params[_key] = _val del _params['kwargs'] @@ -1397,7 +1397,7 @@ def annotation_analyses_put_with_http_info(self, note_collection_request : Optio } return self.api_client.call_api( - '/annotation-analyses/', 'PUT', + '/annotation-analyses/', 'POST', _path_params, _query_params, _header_params,