Skip to content

Commit 7779c2a

Browse files
e4d04087d7ef431e93294622a3c552b302343b8a
1 parent 41c5344 commit 7779c2a

File tree

7 files changed

+408
-204
lines changed

7 files changed

+408
-204
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ Class | Method | HTTP request | Description
110110
*ComposeApi* | [**neurovault_files_id_put**](docs/ComposeApi.md#neurovault_files_id_put) | **PUT** /neurovault-files/{id} |
111111
*ComposeApi* | [**neurovault_files_post**](docs/ComposeApi.md#neurovault_files_post) | **POST** /neurovault-files |
112112
*ComposeApi* | [**projects_get**](docs/ComposeApi.md#projects_get) | **GET** /projects | Your GET endpoint
113+
*ComposeApi* | [**projects_id_delete**](docs/ComposeApi.md#projects_id_delete) | **DELETE** /projects/{id} |
113114
*ComposeApi* | [**projects_id_get**](docs/ComposeApi.md#projects_id_get) | **GET** /projects/{id} | Your GET endpoint
114115
*ComposeApi* | [**projects_id_put**](docs/ComposeApi.md#projects_id_put) | **PUT** /projects/{id} |
115116
*ComposeApi* | [**projects_post**](docs/ComposeApi.md#projects_post) | **POST** /projects |
@@ -126,7 +127,6 @@ Class | Method | HTTP request | Description
126127
*DefaultApi* | [**neurostore_studies_id_get**](docs/DefaultApi.md#neurostore_studies_id_get) | **GET** /neurostore-studies/{id} | Your GET endpoint
127128
*DefaultApi* | [**neurostore_studies_id_put**](docs/DefaultApi.md#neurostore_studies_id_put) | **PUT** /neurostore-studies/{id} |
128129
*DefaultApi* | [**neurostore_studies_post**](docs/DefaultApi.md#neurostore_studies_post) | **POST** /neurostore-studies |
129-
*DefaultApi* | [**projects_id_delete**](docs/DefaultApi.md#projects_id_delete) | **DELETE** /projects/{id} |
130130
*DefaultApi* | [**studyset_references_get**](docs/DefaultApi.md#studyset_references_get) | **GET** /studyset-references | Your GET endpoint
131131
*DefaultApi* | [**studyset_references_id_get**](docs/DefaultApi.md#studyset_references_id_get) | **GET** /studyset-references/{id} | Your GET endpoint
132132
*GetApi* | [**annotations_get**](docs/GetApi.md#annotations_get) | **GET** /annotations | GET a list of annotations
@@ -170,6 +170,7 @@ Class | Method | HTTP request | Description
170170
*PostApi* | [**specifications_post**](docs/PostApi.md#specifications_post) | **POST** /specifications | Create a Specification
171171
*PostApi* | [**studysets_post**](docs/PostApi.md#studysets_post) | **POST** /studysets | Create a new Studyset
172172
*ProjectsApi* | [**projects_get**](docs/ProjectsApi.md#projects_get) | **GET** /projects | Your GET endpoint
173+
*ProjectsApi* | [**projects_id_delete**](docs/ProjectsApi.md#projects_id_delete) | **DELETE** /projects/{id} |
173174
*ProjectsApi* | [**projects_id_get**](docs/ProjectsApi.md#projects_id_get) | **GET** /projects/{id} | Your GET endpoint
174175
*ProjectsApi* | [**projects_id_put**](docs/ProjectsApi.md#projects_id_put) | **PUT** /projects/{id} |
175176
*ProjectsApi* | [**projects_post**](docs/ProjectsApi.md#projects_post) | **POST** /projects |

docs/ComposeApi.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Method | HTTP request | Description
2525
[**neurovault_files_id_put**](ComposeApi.md#neurovault_files_id_put) | **PUT** /neurovault-files/{id} |
2626
[**neurovault_files_post**](ComposeApi.md#neurovault_files_post) | **POST** /neurovault-files |
2727
[**projects_get**](ComposeApi.md#projects_get) | **GET** /projects | Your GET endpoint
28+
[**projects_id_delete**](ComposeApi.md#projects_id_delete) | **DELETE** /projects/{id} |
2829
[**projects_id_get**](ComposeApi.md#projects_id_get) | **GET** /projects/{id} | Your GET endpoint
2930
[**projects_id_put**](ComposeApi.md#projects_id_put) | **PUT** /projects/{id} |
3031
[**projects_post**](ComposeApi.md#projects_post) | **POST** /projects |
@@ -1552,6 +1553,77 @@ This endpoint does not need any parameter.
15521553

15531554
[[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)
15541555

1556+
# **projects_id_delete**
1557+
> projects_id_delete(id)
1558+
1559+
1560+
1561+
### Example
1562+
1563+
* Bearer Authentication (JSON-Web-Token):
1564+
```python
1565+
import time
1566+
import os
1567+
import neurosynth_compose_sdk
1568+
from neurosynth_compose_sdk.rest import ApiException
1569+
from pprint import pprint
1570+
1571+
# Defining the host is optional and defaults to https://compose.neurosynth.org/api
1572+
# See configuration.py for a list of all supported configuration parameters.
1573+
configuration = neurosynth_compose_sdk.Configuration(
1574+
host = "https://compose.neurosynth.org/api"
1575+
)
1576+
1577+
# The client must configure the authentication and authorization parameters
1578+
# in accordance with the API server security policy.
1579+
# Examples for each auth method are provided below, use the example that
1580+
# satisfies your auth use case.
1581+
1582+
# Configure Bearer authorization: JSON-Web-Token
1583+
configuration = neurosynth_compose_sdk.Configuration(
1584+
access_token = os.environ["BEARER_TOKEN"]
1585+
)
1586+
1587+
# Enter a context with an instance of the API client
1588+
with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
1589+
# Create an instance of the API class
1590+
api_instance = neurosynth_compose_sdk.ComposeApi(api_client)
1591+
id = 'id_example' # str |
1592+
1593+
try:
1594+
#
1595+
api_instance.projects_id_delete(id)
1596+
except Exception as e:
1597+
print("Exception when calling ComposeApi->projects_id_delete: %s\n" % e)
1598+
```
1599+
1600+
1601+
### Parameters
1602+
1603+
Name | Type | Description | Notes
1604+
------------- | ------------- | ------------- | -------------
1605+
**id** | **str**| |
1606+
1607+
### Return type
1608+
1609+
void (empty response body)
1610+
1611+
### Authorization
1612+
1613+
[JSON-Web-Token](../README.md#JSON-Web-Token)
1614+
1615+
### HTTP request headers
1616+
1617+
- **Content-Type**: Not defined
1618+
- **Accept**: Not defined
1619+
1620+
### HTTP response details
1621+
| Status code | Description | Response headers |
1622+
|-------------|-------------|------------------|
1623+
**200** | OK | - |
1624+
1625+
[[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)
1626+
15551627
# **projects_id_get**
15561628
> ProjectReturn projects_id_get(id)
15571629

docs/DefaultApi.md

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Method | HTTP request | Description
99
[**neurostore_studies_id_get**](DefaultApi.md#neurostore_studies_id_get) | **GET** /neurostore-studies/{id} | Your GET endpoint
1010
[**neurostore_studies_id_put**](DefaultApi.md#neurostore_studies_id_put) | **PUT** /neurostore-studies/{id} |
1111
[**neurostore_studies_post**](DefaultApi.md#neurostore_studies_post) | **POST** /neurostore-studies |
12-
[**projects_id_delete**](DefaultApi.md#projects_id_delete) | **DELETE** /projects/{id} |
1312
[**studyset_references_get**](DefaultApi.md#studyset_references_get) | **GET** /studyset-references | Your GET endpoint
1413
[**studyset_references_id_get**](DefaultApi.md#studyset_references_id_get) | **GET** /studyset-references/{id} | Your GET endpoint
1514

@@ -353,77 +352,6 @@ This endpoint does not need any parameter.
353352

354353
[[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)
355354

356-
# **projects_id_delete**
357-
> projects_id_delete(id)
358-
359-
360-
361-
### Example
362-
363-
* Bearer Authentication (JSON-Web-Token):
364-
```python
365-
import time
366-
import os
367-
import neurosynth_compose_sdk
368-
from neurosynth_compose_sdk.rest import ApiException
369-
from pprint import pprint
370-
371-
# Defining the host is optional and defaults to https://compose.neurosynth.org/api
372-
# See configuration.py for a list of all supported configuration parameters.
373-
configuration = neurosynth_compose_sdk.Configuration(
374-
host = "https://compose.neurosynth.org/api"
375-
)
376-
377-
# The client must configure the authentication and authorization parameters
378-
# in accordance with the API server security policy.
379-
# Examples for each auth method are provided below, use the example that
380-
# satisfies your auth use case.
381-
382-
# Configure Bearer authorization: JSON-Web-Token
383-
configuration = neurosynth_compose_sdk.Configuration(
384-
access_token = os.environ["BEARER_TOKEN"]
385-
)
386-
387-
# Enter a context with an instance of the API client
388-
with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
389-
# Create an instance of the API class
390-
api_instance = neurosynth_compose_sdk.DefaultApi(api_client)
391-
id = 'id_example' # str |
392-
393-
try:
394-
#
395-
api_instance.projects_id_delete(id)
396-
except Exception as e:
397-
print("Exception when calling DefaultApi->projects_id_delete: %s\n" % e)
398-
```
399-
400-
401-
### Parameters
402-
403-
Name | Type | Description | Notes
404-
------------- | ------------- | ------------- | -------------
405-
**id** | **str**| |
406-
407-
### Return type
408-
409-
void (empty response body)
410-
411-
### Authorization
412-
413-
[JSON-Web-Token](../README.md#JSON-Web-Token)
414-
415-
### HTTP request headers
416-
417-
- **Content-Type**: Not defined
418-
- **Accept**: Not defined
419-
420-
### HTTP response details
421-
| Status code | Description | Response headers |
422-
|-------------|-------------|------------------|
423-
**200** | OK | - |
424-
425-
[[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)
426-
427355
# **studyset_references_get**
428356
> StudysetReferenceList studyset_references_get(nested=nested)
429357

docs/ProjectsApi.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All URIs are relative to *https://compose.neurosynth.org/api*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**projects_get**](ProjectsApi.md#projects_get) | **GET** /projects | Your GET endpoint
8+
[**projects_id_delete**](ProjectsApi.md#projects_id_delete) | **DELETE** /projects/{id} |
89
[**projects_id_get**](ProjectsApi.md#projects_id_get) | **GET** /projects/{id} | Your GET endpoint
910
[**projects_id_put**](ProjectsApi.md#projects_id_put) | **PUT** /projects/{id} |
1011
[**projects_post**](ProjectsApi.md#projects_post) | **POST** /projects |
@@ -80,6 +81,77 @@ This endpoint does not need any parameter.
8081

8182
[[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)
8283

84+
# **projects_id_delete**
85+
> projects_id_delete(id)
86+
87+
88+
89+
### Example
90+
91+
* Bearer Authentication (JSON-Web-Token):
92+
```python
93+
import time
94+
import os
95+
import neurosynth_compose_sdk
96+
from neurosynth_compose_sdk.rest import ApiException
97+
from pprint import pprint
98+
99+
# Defining the host is optional and defaults to https://compose.neurosynth.org/api
100+
# See configuration.py for a list of all supported configuration parameters.
101+
configuration = neurosynth_compose_sdk.Configuration(
102+
host = "https://compose.neurosynth.org/api"
103+
)
104+
105+
# The client must configure the authentication and authorization parameters
106+
# in accordance with the API server security policy.
107+
# Examples for each auth method are provided below, use the example that
108+
# satisfies your auth use case.
109+
110+
# Configure Bearer authorization: JSON-Web-Token
111+
configuration = neurosynth_compose_sdk.Configuration(
112+
access_token = os.environ["BEARER_TOKEN"]
113+
)
114+
115+
# Enter a context with an instance of the API client
116+
with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
117+
# Create an instance of the API class
118+
api_instance = neurosynth_compose_sdk.ProjectsApi(api_client)
119+
id = 'id_example' # str |
120+
121+
try:
122+
#
123+
api_instance.projects_id_delete(id)
124+
except Exception as e:
125+
print("Exception when calling ProjectsApi->projects_id_delete: %s\n" % e)
126+
```
127+
128+
129+
### Parameters
130+
131+
Name | Type | Description | Notes
132+
------------- | ------------- | ------------- | -------------
133+
**id** | **str**| |
134+
135+
### Return type
136+
137+
void (empty response body)
138+
139+
### Authorization
140+
141+
[JSON-Web-Token](../README.md#JSON-Web-Token)
142+
143+
### HTTP request headers
144+
145+
- **Content-Type**: Not defined
146+
- **Accept**: Not defined
147+
148+
### HTTP response details
149+
| Status code | Description | Response headers |
150+
|-------------|-------------|------------------|
151+
**200** | OK | - |
152+
153+
[[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)
154+
83155
# **projects_id_get**
84156
> ProjectReturn projects_id_get(id)
85157

0 commit comments

Comments
 (0)