diff --git a/README.md b/README.md index 0cdee3e..c70b974 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,7 @@ Class | Method | HTTP request | Description *ComposeApi* | [**neurovault_files_id_put**](docs/ComposeApi.md#neurovault_files_id_put) | **PUT** /neurovault-files/{id} | *ComposeApi* | [**neurovault_files_post**](docs/ComposeApi.md#neurovault_files_post) | **POST** /neurovault-files | *ComposeApi* | [**projects_get**](docs/ComposeApi.md#projects_get) | **GET** /projects | Your GET endpoint +*ComposeApi* | [**projects_id_delete**](docs/ComposeApi.md#projects_id_delete) | **DELETE** /projects/{id} | *ComposeApi* | [**projects_id_get**](docs/ComposeApi.md#projects_id_get) | **GET** /projects/{id} | Your GET endpoint *ComposeApi* | [**projects_id_put**](docs/ComposeApi.md#projects_id_put) | **PUT** /projects/{id} | *ComposeApi* | [**projects_post**](docs/ComposeApi.md#projects_post) | **POST** /projects | @@ -126,7 +127,6 @@ Class | Method | HTTP request | Description *DefaultApi* | [**neurostore_studies_id_get**](docs/DefaultApi.md#neurostore_studies_id_get) | **GET** /neurostore-studies/{id} | Your GET endpoint *DefaultApi* | [**neurostore_studies_id_put**](docs/DefaultApi.md#neurostore_studies_id_put) | **PUT** /neurostore-studies/{id} | *DefaultApi* | [**neurostore_studies_post**](docs/DefaultApi.md#neurostore_studies_post) | **POST** /neurostore-studies | -*DefaultApi* | [**projects_id_delete**](docs/DefaultApi.md#projects_id_delete) | **DELETE** /projects/{id} | *DefaultApi* | [**studyset_references_get**](docs/DefaultApi.md#studyset_references_get) | **GET** /studyset-references | Your GET endpoint *DefaultApi* | [**studyset_references_id_get**](docs/DefaultApi.md#studyset_references_id_get) | **GET** /studyset-references/{id} | Your GET endpoint *GetApi* | [**annotations_get**](docs/GetApi.md#annotations_get) | **GET** /annotations | GET a list of annotations @@ -170,6 +170,7 @@ Class | Method | HTTP request | Description *PostApi* | [**specifications_post**](docs/PostApi.md#specifications_post) | **POST** /specifications | Create a Specification *PostApi* | [**studysets_post**](docs/PostApi.md#studysets_post) | **POST** /studysets | Create a new Studyset *ProjectsApi* | [**projects_get**](docs/ProjectsApi.md#projects_get) | **GET** /projects | Your GET endpoint +*ProjectsApi* | [**projects_id_delete**](docs/ProjectsApi.md#projects_id_delete) | **DELETE** /projects/{id} | *ProjectsApi* | [**projects_id_get**](docs/ProjectsApi.md#projects_id_get) | **GET** /projects/{id} | Your GET endpoint *ProjectsApi* | [**projects_id_put**](docs/ProjectsApi.md#projects_id_put) | **PUT** /projects/{id} | *ProjectsApi* | [**projects_post**](docs/ProjectsApi.md#projects_post) | **POST** /projects | diff --git a/docs/ComposeApi.md b/docs/ComposeApi.md index a0962b1..00ed5e3 100644 --- a/docs/ComposeApi.md +++ b/docs/ComposeApi.md @@ -25,6 +25,7 @@ Method | HTTP request | Description [**neurovault_files_id_put**](ComposeApi.md#neurovault_files_id_put) | **PUT** /neurovault-files/{id} | [**neurovault_files_post**](ComposeApi.md#neurovault_files_post) | **POST** /neurovault-files | [**projects_get**](ComposeApi.md#projects_get) | **GET** /projects | Your GET endpoint +[**projects_id_delete**](ComposeApi.md#projects_id_delete) | **DELETE** /projects/{id} | [**projects_id_get**](ComposeApi.md#projects_id_get) | **GET** /projects/{id} | Your GET endpoint [**projects_id_put**](ComposeApi.md#projects_id_put) | **PUT** /projects/{id} | [**projects_post**](ComposeApi.md#projects_post) | **POST** /projects | @@ -1552,6 +1553,77 @@ This endpoint does not need any parameter. [[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) +# **projects_id_delete** +> projects_id_delete(id) + + + +### Example + +* Bearer Authentication (JSON-Web-Token): +```python +import time +import os +import neurosynth_compose_sdk +from neurosynth_compose_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://compose.neurosynth.org/api +# See configuration.py for a list of all supported configuration parameters. +configuration = neurosynth_compose_sdk.Configuration( + host = "https://compose.neurosynth.org/api" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization: JSON-Web-Token +configuration = neurosynth_compose_sdk.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with neurosynth_compose_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = neurosynth_compose_sdk.ComposeApi(api_client) + id = 'id_example' # str | + + try: + # + api_instance.projects_id_delete(id) + except Exception as e: + print("Exception when calling ComposeApi->projects_id_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +[JSON-Web-Token](../README.md#JSON-Web-Token) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + # **projects_id_get** > ProjectReturn projects_id_get(id) diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index f810446..e4bc61f 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -9,7 +9,6 @@ Method | HTTP request | Description [**neurostore_studies_id_get**](DefaultApi.md#neurostore_studies_id_get) | **GET** /neurostore-studies/{id} | Your GET endpoint [**neurostore_studies_id_put**](DefaultApi.md#neurostore_studies_id_put) | **PUT** /neurostore-studies/{id} | [**neurostore_studies_post**](DefaultApi.md#neurostore_studies_post) | **POST** /neurostore-studies | -[**projects_id_delete**](DefaultApi.md#projects_id_delete) | **DELETE** /projects/{id} | [**studyset_references_get**](DefaultApi.md#studyset_references_get) | **GET** /studyset-references | Your GET endpoint [**studyset_references_id_get**](DefaultApi.md#studyset_references_id_get) | **GET** /studyset-references/{id} | Your GET endpoint @@ -353,77 +352,6 @@ This endpoint does not need any parameter. [[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) -# **projects_id_delete** -> projects_id_delete(id) - - - -### Example - -* Bearer Authentication (JSON-Web-Token): -```python -import time -import os -import neurosynth_compose_sdk -from neurosynth_compose_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://compose.neurosynth.org/api -# See configuration.py for a list of all supported configuration parameters. -configuration = neurosynth_compose_sdk.Configuration( - host = "https://compose.neurosynth.org/api" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: JSON-Web-Token -configuration = neurosynth_compose_sdk.Configuration( - access_token = os.environ["BEARER_TOKEN"] -) - -# Enter a context with an instance of the API client -with neurosynth_compose_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = neurosynth_compose_sdk.DefaultApi(api_client) - id = 'id_example' # str | - - try: - # - api_instance.projects_id_delete(id) - except Exception as e: - print("Exception when calling DefaultApi->projects_id_delete: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[JSON-Web-Token](../README.md#JSON-Web-Token) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - # **studyset_references_get** > StudysetReferenceList studyset_references_get(nested=nested) diff --git a/docs/ProjectsApi.md b/docs/ProjectsApi.md index 1b01299..cbcc032 100644 --- a/docs/ProjectsApi.md +++ b/docs/ProjectsApi.md @@ -5,6 +5,7 @@ All URIs are relative to *https://compose.neurosynth.org/api* Method | HTTP request | Description ------------- | ------------- | ------------- [**projects_get**](ProjectsApi.md#projects_get) | **GET** /projects | Your GET endpoint +[**projects_id_delete**](ProjectsApi.md#projects_id_delete) | **DELETE** /projects/{id} | [**projects_id_get**](ProjectsApi.md#projects_id_get) | **GET** /projects/{id} | Your GET endpoint [**projects_id_put**](ProjectsApi.md#projects_id_put) | **PUT** /projects/{id} | [**projects_post**](ProjectsApi.md#projects_post) | **POST** /projects | @@ -80,6 +81,77 @@ This endpoint does not need any parameter. [[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) +# **projects_id_delete** +> projects_id_delete(id) + + + +### Example + +* Bearer Authentication (JSON-Web-Token): +```python +import time +import os +import neurosynth_compose_sdk +from neurosynth_compose_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://compose.neurosynth.org/api +# See configuration.py for a list of all supported configuration parameters. +configuration = neurosynth_compose_sdk.Configuration( + host = "https://compose.neurosynth.org/api" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization: JSON-Web-Token +configuration = neurosynth_compose_sdk.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with neurosynth_compose_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = neurosynth_compose_sdk.ProjectsApi(api_client) + id = 'id_example' # str | + + try: + # + api_instance.projects_id_delete(id) + except Exception as e: + print("Exception when calling ProjectsApi->projects_id_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +[JSON-Web-Token](../README.md#JSON-Web-Token) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + # **projects_id_get** > ProjectReturn projects_id_get(id) diff --git a/neurosynth_compose_sdk/api/compose_api.py b/neurosynth_compose_sdk/api/compose_api.py index b06ac1e..50da27f 100644 --- a/neurosynth_compose_sdk/api/compose_api.py +++ b/neurosynth_compose_sdk/api/compose_api.py @@ -3095,6 +3095,137 @@ def projects_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 collection_formats=_collection_formats, _request_auth=_params.get('_request_auth')) + @validate_arguments + def projects_id_delete(self, id : StrictStr, **kwargs) -> None: # noqa: E501 + """ # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.projects_id_delete(id, async_req=True) + >>> result = thread.get() + + :param id: (required) + :type id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + raise ValueError("Error! Please call the projects_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") + return self.projects_id_delete_with_http_info(id, **kwargs) # noqa: E501 + + @validate_arguments + def projects_id_delete_with_http_info(self, id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 + """ # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.projects_id_delete_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param id: (required) + :type id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + _params = locals() + + _all_params = [ + 'id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method projects_id_delete" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['id']: + _path_params['id'] = _params['id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # authentication setting + _auth_settings = ['JSON-Web-Token'] # noqa: E501 + + _response_types_map = {} + + return self.api_client.call_api( + '/projects/{id}', 'DELETE', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) + @validate_arguments def projects_id_get(self, id : StrictStr, **kwargs) -> ProjectReturn: # noqa: E501 """Your GET endpoint # noqa: E501 diff --git a/neurosynth_compose_sdk/api/default_api.py b/neurosynth_compose_sdk/api/default_api.py index f4b47cc..c7c66f8 100644 --- a/neurosynth_compose_sdk/api/default_api.py +++ b/neurosynth_compose_sdk/api/default_api.py @@ -726,137 +726,6 @@ def neurostore_studies_post_with_http_info(self, **kwargs) -> ApiResponse: # no collection_formats=_collection_formats, _request_auth=_params.get('_request_auth')) - @validate_arguments - def projects_id_delete(self, id : StrictStr, **kwargs) -> None: # noqa: E501 - """ # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.projects_id_delete(id, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - if '_preload_content' in kwargs: - raise ValueError("Error! Please call the projects_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") - return self.projects_id_delete_with_http_info(id, **kwargs) # noqa: E501 - - @validate_arguments - def projects_id_delete_with_http_info(self, id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 - """ # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.projects_id_delete_with_http_info(id, async_req=True) - >>> result = thread.get() - - :param id: (required) - :type id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the ApiResponse.data will - be set to none and raw_data will store the - HTTP response body without reading/decoding. - Default is True. - :type _preload_content: bool, optional - :param _return_http_data_only: response data instead of ApiResponse - object with status code, headers, etc - :type _return_http_data_only: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - _params = locals() - - _all_params = [ - 'id' - ] - _all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - # validate the arguments - for _key, _val in _params['kwargs'].items(): - if _key not in _all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_id_delete" % _key - ) - _params[_key] = _val - del _params['kwargs'] - - _collection_formats = {} - - # process the path parameters - _path_params = {} - if _params['id']: - _path_params['id'] = _params['id'] - - - # process the query parameters - _query_params = [] - # process the header parameters - _header_params = dict(_params.get('_headers', {})) - # process the form parameters - _form_params = [] - _files = {} - # process the body parameter - _body_params = None - # authentication setting - _auth_settings = ['JSON-Web-Token'] # noqa: E501 - - _response_types_map = {} - - return self.api_client.call_api( - '/projects/{id}', 'DELETE', - _path_params, - _query_params, - _header_params, - body=_body_params, - post_params=_form_params, - files=_files, - response_types_map=_response_types_map, - auth_settings=_auth_settings, - async_req=_params.get('async_req'), - _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=_params.get('_preload_content', True), - _request_timeout=_params.get('_request_timeout'), - collection_formats=_collection_formats, - _request_auth=_params.get('_request_auth')) - @validate_arguments def studyset_references_get(self, nested : Annotated[Optional[StrictBool], Field(description="show nested component instead of id")] = None, **kwargs) -> StudysetReferenceList: # noqa: E501 """Your GET endpoint # noqa: E501 diff --git a/neurosynth_compose_sdk/api/projects_api.py b/neurosynth_compose_sdk/api/projects_api.py index 962f780..61395c4 100644 --- a/neurosynth_compose_sdk/api/projects_api.py +++ b/neurosynth_compose_sdk/api/projects_api.py @@ -177,6 +177,137 @@ def projects_get_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501 collection_formats=_collection_formats, _request_auth=_params.get('_request_auth')) + @validate_arguments + def projects_id_delete(self, id : StrictStr, **kwargs) -> None: # noqa: E501 + """ # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.projects_id_delete(id, async_req=True) + >>> result = thread.get() + + :param id: (required) + :type id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + raise ValueError("Error! Please call the projects_id_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") + return self.projects_id_delete_with_http_info(id, **kwargs) # noqa: E501 + + @validate_arguments + def projects_id_delete_with_http_info(self, id : StrictStr, **kwargs) -> ApiResponse: # noqa: E501 + """ # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.projects_id_delete_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param id: (required) + :type id: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + _params = locals() + + _all_params = [ + 'id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method projects_id_delete" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['id']: + _path_params['id'] = _params['id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # authentication setting + _auth_settings = ['JSON-Web-Token'] # noqa: E501 + + _response_types_map = {} + + return self.api_client.call_api( + '/projects/{id}', 'DELETE', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) + @validate_arguments def projects_id_get(self, id : StrictStr, **kwargs) -> ProjectReturn: # noqa: E501 """Your GET endpoint # noqa: E501