Skip to content

Commit f500b81

Browse files
f53cab135827c18b0d461f7a9ffedce6320b5621
1 parent b9f5517 commit f500b81

15 files changed

Lines changed: 317 additions & 259 deletions

.openapi-generator/FILES

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ docs/JsonLd.md
5454
docs/JsonLdContext.md
5555
docs/Metadata.md
5656
docs/NestedPutAttributes.md
57-
docs/NeurostoreResourcesNeurostoreStudysetReleasesSearch200Response.md
58-
docs/NeurostoreResourcesNeurostoreStudysetReleasesSearch200ResponseMetadata.md
5957
docs/NeurostoreStudysetReleasesApi.md
58+
docs/NeurostoreStudysetReleasesGet200Response.md
59+
docs/NeurostoreStudysetReleasesGet200ResponseMetadata.md
6060
docs/NoteCollectionBase.md
6161
docs/NoteCollectionList.md
6262
docs/NoteCollectionRequest.md
@@ -175,8 +175,8 @@ neurostore_sdk/models/json_ld.py
175175
neurostore_sdk/models/json_ld_context.py
176176
neurostore_sdk/models/metadata.py
177177
neurostore_sdk/models/nested_put_attributes.py
178-
neurostore_sdk/models/neurostore_resources_neurostore_studyset_releases_search200_response.py
179-
neurostore_sdk/models/neurostore_resources_neurostore_studyset_releases_search200_response_metadata.py
178+
neurostore_sdk/models/neurostore_studyset_releases_get200_response.py
179+
neurostore_sdk/models/neurostore_studyset_releases_get200_response_metadata.py
180180
neurostore_sdk/models/note_collection_base.py
181181
neurostore_sdk/models/note_collection_list.py
182182
neurostore_sdk/models/note_collection_request.py
@@ -292,9 +292,9 @@ test/test_json_ld.py
292292
test/test_json_ld_context.py
293293
test/test_metadata.py
294294
test/test_nested_put_attributes.py
295-
test/test_neurostore_resources_neurostore_studyset_releases_search200_response.py
296-
test/test_neurostore_resources_neurostore_studyset_releases_search200_response_metadata.py
297295
test/test_neurostore_studyset_releases_api.py
296+
test/test_neurostore_studyset_releases_get200_response.py
297+
test/test_neurostore_studyset_releases_get200_response_metadata.py
298298
test/test_note_collection_base.py
299299
test/test_note_collection_list.py
300300
test/test_note_collection_request.py

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,14 @@ configuration = neurostore_sdk.Configuration(
6868
with neurostore_sdk.ApiClient(configuration) as api_client:
6969
# Create an instance of the API class
7070
api_instance = neurostore_sdk.NeurostoreStudysetReleasesApi(api_client)
71-
version = 'version_example' # str | nightly, latest, or a monthly release in YYYY-MM format.
7271

7372
try:
74-
# Download NeuroStore studyset release tarball
75-
api_response = api_instance.neurostore_resources_neurostore_studyset_releases_download(version)
76-
print("The response of NeurostoreStudysetReleasesApi->neurostore_resources_neurostore_studyset_releases_download:\n")
73+
# GET NeuroStore studyset release list
74+
api_response = api_instance.neurostore_studyset_releases_get()
75+
print("The response of NeurostoreStudysetReleasesApi->neurostore_studyset_releases_get:\n")
7776
pprint(api_response)
7877
except ApiException as e:
79-
print("Exception when calling NeurostoreStudysetReleasesApi->neurostore_resources_neurostore_studyset_releases_download: %s\n" % e)
78+
print("Exception when calling NeurostoreStudysetReleasesApi->neurostore_studyset_releases_get: %s\n" % e)
8079

8180
```
8281

@@ -86,9 +85,9 @@ All URIs are relative to *https://neurostore.org/api*
8685

8786
Class | Method | HTTP request | Description
8887
------------ | ------------- | ------------- | -------------
89-
*NeurostoreStudysetReleasesApi* | [**neurostore_resources_neurostore_studyset_releases_download**](docs/NeurostoreStudysetReleasesApi.md#neurostore_resources_neurostore_studyset_releases_download) | **GET** /neurostore-studyset-releases/{version}/download | Download NeuroStore studyset release tarball
90-
*NeurostoreStudysetReleasesApi* | [**neurostore_resources_neurostore_studyset_releases_get**](docs/NeurostoreStudysetReleasesApi.md#neurostore_resources_neurostore_studyset_releases_get) | **GET** /neurostore-studyset-releases/{version} | GET NeuroStore studyset release manifest
91-
*NeurostoreStudysetReleasesApi* | [**neurostore_resources_neurostore_studyset_releases_search**](docs/NeurostoreStudysetReleasesApi.md#neurostore_resources_neurostore_studyset_releases_search) | **GET** /neurostore-studyset-releases/ | GET NeuroStore studyset release list
88+
*NeurostoreStudysetReleasesApi* | [**neurostore_studyset_releases_get**](docs/NeurostoreStudysetReleasesApi.md#neurostore_studyset_releases_get) | **GET** /neurostore-studyset-releases/ | GET NeuroStore studyset release list
89+
*NeurostoreStudysetReleasesApi* | [**neurostore_studyset_releases_version_download_get**](docs/NeurostoreStudysetReleasesApi.md#neurostore_studyset_releases_version_download_get) | **GET** /neurostore-studyset-releases/{version}/download | Download NeuroStore studyset release tarball
90+
*NeurostoreStudysetReleasesApi* | [**neurostore_studyset_releases_version_get**](docs/NeurostoreStudysetReleasesApi.md#neurostore_studyset_releases_version_get) | **GET** /neurostore-studyset-releases/{version} | GET NeuroStore studyset release manifest
9291
*StoreApi* | [**analyses_get**](docs/StoreApi.md#analyses_get) | **GET** /analyses/ | GET list of analyses
9392
*StoreApi* | [**analyses_id_delete**](docs/StoreApi.md#analyses_id_delete) | **DELETE** /analyses/{id} | DELETE an analysis
9493
*StoreApi* | [**analyses_id_get**](docs/StoreApi.md#analyses_id_get) | **GET** /analyses/{id} | GET an analysis
@@ -213,8 +212,8 @@ Class | Method | HTTP request | Description
213212
- [JsonLdContext](docs/JsonLdContext.md)
214213
- [Metadata](docs/Metadata.md)
215214
- [NestedPutAttributes](docs/NestedPutAttributes.md)
216-
- [NeurostoreResourcesNeurostoreStudysetReleasesSearch200Response](docs/NeurostoreResourcesNeurostoreStudysetReleasesSearch200Response.md)
217-
- [NeurostoreResourcesNeurostoreStudysetReleasesSearch200ResponseMetadata](docs/NeurostoreResourcesNeurostoreStudysetReleasesSearch200ResponseMetadata.md)
215+
- [NeurostoreStudysetReleasesGet200Response](docs/NeurostoreStudysetReleasesGet200Response.md)
216+
- [NeurostoreStudysetReleasesGet200ResponseMetadata](docs/NeurostoreStudysetReleasesGet200ResponseMetadata.md)
218217
- [NoteCollectionBase](docs/NoteCollectionBase.md)
219218
- [NoteCollectionList](docs/NoteCollectionList.md)
220219
- [NoteCollectionRequest](docs/NoteCollectionRequest.md)

docs/NeurostoreStudysetReleasesApi.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,22 @@ All URIs are relative to *https://neurostore.org/api*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**neurostore_resources_neurostore_studyset_releases_download**](NeurostoreStudysetReleasesApi.md#neurostore_resources_neurostore_studyset_releases_download) | **GET** /neurostore-studyset-releases/{version}/download | Download NeuroStore studyset release tarball
8-
[**neurostore_resources_neurostore_studyset_releases_get**](NeurostoreStudysetReleasesApi.md#neurostore_resources_neurostore_studyset_releases_get) | **GET** /neurostore-studyset-releases/{version} | GET NeuroStore studyset release manifest
9-
[**neurostore_resources_neurostore_studyset_releases_search**](NeurostoreStudysetReleasesApi.md#neurostore_resources_neurostore_studyset_releases_search) | **GET** /neurostore-studyset-releases/ | GET NeuroStore studyset release list
7+
[**neurostore_studyset_releases_get**](NeurostoreStudysetReleasesApi.md#neurostore_studyset_releases_get) | **GET** /neurostore-studyset-releases/ | GET NeuroStore studyset release list
8+
[**neurostore_studyset_releases_version_download_get**](NeurostoreStudysetReleasesApi.md#neurostore_studyset_releases_version_download_get) | **GET** /neurostore-studyset-releases/{version}/download | Download NeuroStore studyset release tarball
9+
[**neurostore_studyset_releases_version_get**](NeurostoreStudysetReleasesApi.md#neurostore_studyset_releases_version_get) | **GET** /neurostore-studyset-releases/{version} | GET NeuroStore studyset release manifest
1010

1111

12-
# **neurostore_resources_neurostore_studyset_releases_download**
13-
> bytearray neurostore_resources_neurostore_studyset_releases_download(version)
12+
# **neurostore_studyset_releases_get**
13+
> NeurostoreStudysetReleasesGet200Response neurostore_studyset_releases_get()
1414
15-
Download NeuroStore studyset release tarball
15+
GET NeuroStore studyset release list
1616

1717
### Example
1818

1919

2020
```python
2121
import neurostore_sdk
22+
from neurostore_sdk.models.neurostore_studyset_releases_get200_response import NeurostoreStudysetReleasesGet200Response
2223
from neurostore_sdk.rest import ApiException
2324
from pprint import pprint
2425

@@ -33,29 +34,25 @@ configuration = neurostore_sdk.Configuration(
3334
with neurostore_sdk.ApiClient(configuration) as api_client:
3435
# Create an instance of the API class
3536
api_instance = neurostore_sdk.NeurostoreStudysetReleasesApi(api_client)
36-
version = 'version_example' # str | nightly, latest, or a monthly release in YYYY-MM format.
3737

3838
try:
39-
# Download NeuroStore studyset release tarball
40-
api_response = api_instance.neurostore_resources_neurostore_studyset_releases_download(version)
41-
print("The response of NeurostoreStudysetReleasesApi->neurostore_resources_neurostore_studyset_releases_download:\n")
39+
# GET NeuroStore studyset release list
40+
api_response = api_instance.neurostore_studyset_releases_get()
41+
print("The response of NeurostoreStudysetReleasesApi->neurostore_studyset_releases_get:\n")
4242
pprint(api_response)
4343
except Exception as e:
44-
print("Exception when calling NeurostoreStudysetReleasesApi->neurostore_resources_neurostore_studyset_releases_download: %s\n" % e)
44+
print("Exception when calling NeurostoreStudysetReleasesApi->neurostore_studyset_releases_get: %s\n" % e)
4545
```
4646

4747

4848

4949
### Parameters
5050

51-
52-
Name | Type | Description | Notes
53-
------------- | ------------- | ------------- | -------------
54-
**version** | **str**| nightly, latest, or a monthly release in YYYY-MM format. |
51+
This endpoint does not need any parameter.
5552

5653
### Return type
5754

58-
**bytearray**
55+
[**NeurostoreStudysetReleasesGet200Response**](NeurostoreStudysetReleasesGet200Response.md)
5956

6057
### Authorization
6158

@@ -64,21 +61,20 @@ No authorization required
6461
### HTTP request headers
6562

6663
- **Content-Type**: Not defined
67-
- **Accept**: application/gzip, application/json
64+
- **Accept**: application/json
6865

6966
### HTTP response details
7067

7168
| Status code | Description | Response headers |
7269
|-------------|-------------|------------------|
7370
**200** | OK | - |
74-
**404** | Not Found | - |
7571

7672
[[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)
7773

78-
# **neurostore_resources_neurostore_studyset_releases_get**
79-
> object neurostore_resources_neurostore_studyset_releases_get(version)
74+
# **neurostore_studyset_releases_version_download_get**
75+
> bytearray neurostore_studyset_releases_version_download_get(version)
8076
81-
GET NeuroStore studyset release manifest
77+
Download NeuroStore studyset release tarball
8278

8379
### Example
8480

@@ -102,12 +98,12 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
10298
version = 'version_example' # str | nightly, latest, or a monthly release in YYYY-MM format.
10399

104100
try:
105-
# GET NeuroStore studyset release manifest
106-
api_response = api_instance.neurostore_resources_neurostore_studyset_releases_get(version)
107-
print("The response of NeurostoreStudysetReleasesApi->neurostore_resources_neurostore_studyset_releases_get:\n")
101+
# Download NeuroStore studyset release tarball
102+
api_response = api_instance.neurostore_studyset_releases_version_download_get(version)
103+
print("The response of NeurostoreStudysetReleasesApi->neurostore_studyset_releases_version_download_get:\n")
108104
pprint(api_response)
109105
except Exception as e:
110-
print("Exception when calling NeurostoreStudysetReleasesApi->neurostore_resources_neurostore_studyset_releases_get: %s\n" % e)
106+
print("Exception when calling NeurostoreStudysetReleasesApi->neurostore_studyset_releases_version_download_get: %s\n" % e)
111107
```
112108

113109

@@ -121,7 +117,7 @@ Name | Type | Description | Notes
121117

122118
### Return type
123119

124-
**object**
120+
**bytearray**
125121

126122
### Authorization
127123

@@ -130,7 +126,7 @@ No authorization required
130126
### HTTP request headers
131127

132128
- **Content-Type**: Not defined
133-
- **Accept**: application/json
129+
- **Accept**: application/gzip, application/json
134130

135131
### HTTP response details
136132

@@ -141,17 +137,16 @@ No authorization required
141137

142138
[[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)
143139

144-
# **neurostore_resources_neurostore_studyset_releases_search**
145-
> NeurostoreResourcesNeurostoreStudysetReleasesSearch200Response neurostore_resources_neurostore_studyset_releases_search()
140+
# **neurostore_studyset_releases_version_get**
141+
> object neurostore_studyset_releases_version_get(version)
146142
147-
GET NeuroStore studyset release list
143+
GET NeuroStore studyset release manifest
148144

149145
### Example
150146

151147

152148
```python
153149
import neurostore_sdk
154-
from neurostore_sdk.models.neurostore_resources_neurostore_studyset_releases_search200_response import NeurostoreResourcesNeurostoreStudysetReleasesSearch200Response
155150
from neurostore_sdk.rest import ApiException
156151
from pprint import pprint
157152

@@ -166,25 +161,29 @@ configuration = neurostore_sdk.Configuration(
166161
with neurostore_sdk.ApiClient(configuration) as api_client:
167162
# Create an instance of the API class
168163
api_instance = neurostore_sdk.NeurostoreStudysetReleasesApi(api_client)
164+
version = 'version_example' # str | nightly, latest, or a monthly release in YYYY-MM format.
169165

170166
try:
171-
# GET NeuroStore studyset release list
172-
api_response = api_instance.neurostore_resources_neurostore_studyset_releases_search()
173-
print("The response of NeurostoreStudysetReleasesApi->neurostore_resources_neurostore_studyset_releases_search:\n")
167+
# GET NeuroStore studyset release manifest
168+
api_response = api_instance.neurostore_studyset_releases_version_get(version)
169+
print("The response of NeurostoreStudysetReleasesApi->neurostore_studyset_releases_version_get:\n")
174170
pprint(api_response)
175171
except Exception as e:
176-
print("Exception when calling NeurostoreStudysetReleasesApi->neurostore_resources_neurostore_studyset_releases_search: %s\n" % e)
172+
print("Exception when calling NeurostoreStudysetReleasesApi->neurostore_studyset_releases_version_get: %s\n" % e)
177173
```
178174

179175

180176

181177
### Parameters
182178

183-
This endpoint does not need any parameter.
179+
180+
Name | Type | Description | Notes
181+
------------- | ------------- | ------------- | -------------
182+
**version** | **str**| nightly, latest, or a monthly release in YYYY-MM format. |
184183

185184
### Return type
186185

187-
[**NeurostoreResourcesNeurostoreStudysetReleasesSearch200Response**](NeurostoreResourcesNeurostoreStudysetReleasesSearch200Response.md)
186+
**object**
188187

189188
### Authorization
190189

@@ -200,6 +199,7 @@ No authorization required
200199
| Status code | Description | Response headers |
201200
|-------------|-------------|------------------|
202201
**200** | OK | - |
202+
**404** | Not Found | - |
203203

204204
[[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)
205205

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# NeurostoreStudysetReleasesGet200Response
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**metadata** | [**NeurostoreStudysetReleasesGet200ResponseMetadata**](NeurostoreStudysetReleasesGet200ResponseMetadata.md) | | [optional]
9+
**results** | **List[object]** | | [optional]
10+
11+
## Example
12+
13+
```python
14+
from neurostore_sdk.models.neurostore_studyset_releases_get200_response import NeurostoreStudysetReleasesGet200Response
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of NeurostoreStudysetReleasesGet200Response from a JSON string
19+
neurostore_studyset_releases_get200_response_instance = NeurostoreStudysetReleasesGet200Response.from_json(json)
20+
# print the JSON string representation of the object
21+
print(NeurostoreStudysetReleasesGet200Response.to_json())
22+
23+
# convert the object into a dict
24+
neurostore_studyset_releases_get200_response_dict = neurostore_studyset_releases_get200_response_instance.to_dict()
25+
# create an instance of NeurostoreStudysetReleasesGet200Response from a dict
26+
neurostore_studyset_releases_get200_response_from_dict = NeurostoreStudysetReleasesGet200Response.from_dict(neurostore_studyset_releases_get200_response_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# NeurostoreStudysetReleasesGet200ResponseMetadata
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**total_count** | **int** | | [optional]
9+
10+
## Example
11+
12+
```python
13+
from neurostore_sdk.models.neurostore_studyset_releases_get200_response_metadata import NeurostoreStudysetReleasesGet200ResponseMetadata
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of NeurostoreStudysetReleasesGet200ResponseMetadata from a JSON string
18+
neurostore_studyset_releases_get200_response_metadata_instance = NeurostoreStudysetReleasesGet200ResponseMetadata.from_json(json)
19+
# print the JSON string representation of the object
20+
print(NeurostoreStudysetReleasesGet200ResponseMetadata.to_json())
21+
22+
# convert the object into a dict
23+
neurostore_studyset_releases_get200_response_metadata_dict = neurostore_studyset_releases_get200_response_metadata_instance.to_dict()
24+
# create an instance of NeurostoreStudysetReleasesGet200ResponseMetadata from a dict
25+
neurostore_studyset_releases_get200_response_metadata_from_dict = NeurostoreStudysetReleasesGet200ResponseMetadata.from_dict(neurostore_studyset_releases_get200_response_metadata_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

0 commit comments

Comments
 (0)