Skip to content

Commit d0d1254

Browse files
353e20a6cd6cfc4b65a01ffb63936cfe81c89f51
1 parent 2443275 commit d0d1254

17 files changed

+1841
-34
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ docs/ResultInit.md
4848
docs/ResultList.md
4949
docs/ResultListResults.md
5050
docs/ResultReturn.md
51+
docs/ResultUploadStatisticalMaps.md
5152
docs/Specification.md
5253
docs/SpecificationConditions.md
5354
docs/SpecificationList.md
@@ -123,6 +124,7 @@ neurosynth_compose_sdk/models/result_init.py
123124
neurosynth_compose_sdk/models/result_list.py
124125
neurosynth_compose_sdk/models/result_list_results.py
125126
neurosynth_compose_sdk/models/result_return.py
127+
neurosynth_compose_sdk/models/result_upload_statistical_maps.py
126128
neurosynth_compose_sdk/models/specification.py
127129
neurosynth_compose_sdk/models/specification_conditions.py
128130
neurosynth_compose_sdk/models/specification_list.py
@@ -147,4 +149,5 @@ setup.cfg
147149
setup.py
148150
test-requirements.txt
149151
test/__init__.py
152+
test/test_result_upload_statistical_maps.py
150153
tox.ini

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,19 @@ configuration = neurosynth_compose_sdk.Configuration(
6868
with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
6969
# Create an instance of the API class
7070
api_instance = neurosynth_compose_sdk.AnnotationsApi(api_client)
71+
nested = True # bool | show nested component instead of id (optional)
72+
ids = ['ids_example'] # List[str] | choose the specific ids you wish to get (optional)
73+
page = 56 # int | page of results (optional)
74+
page_size = 56 # int | number of elements to return on a page (optional)
75+
search = 'imagin' # str | search for entries that contain the substring (optional)
76+
sort = 'created_at' # str | Parameter to sort results on (optional) (default to 'created_at')
77+
desc = True # bool | sort results by descending order (as opposed to ascending order) (optional)
78+
user_id = 'user_id_example' # str | user id you want to filter on (optional)
79+
info = True # bool | display additional information about a nested relationship without displaying fully nested object (optional)
7180

7281
try:
7382
# GET a list of annotations
74-
api_response = api_instance.annotations_get()
83+
api_response = api_instance.annotations_get(nested=nested, ids=ids, page=page, page_size=page_size, search=search, sort=sort, desc=desc, user_id=user_id, info=info)
7584
print("The response of AnnotationsApi->annotations_get:\n")
7685
pprint(api_response)
7786
except ApiException as e:
@@ -207,6 +216,7 @@ Class | Method | HTTP request | Description
207216
- [ResultList](docs/ResultList.md)
208217
- [ResultListResults](docs/ResultListResults.md)
209218
- [ResultReturn](docs/ResultReturn.md)
219+
- [ResultUploadStatisticalMaps](docs/ResultUploadStatisticalMaps.md)
210220
- [Specification](docs/Specification.md)
211221
- [SpecificationConditions](docs/SpecificationConditions.md)
212222
- [SpecificationList](docs/SpecificationList.md)

docs/AnnotationsApi.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Method | HTTP request | Description
1111

1212

1313
# **annotations_get**
14-
> AnnotationList annotations_get()
14+
> AnnotationList annotations_get(nested=nested, ids=ids, page=page, page_size=page_size, search=search, sort=sort, desc=desc, user_id=user_id, info=info)
1515
1616
GET a list of annotations
1717

@@ -37,10 +37,19 @@ configuration = neurosynth_compose_sdk.Configuration(
3737
with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
3838
# Create an instance of the API class
3939
api_instance = neurosynth_compose_sdk.AnnotationsApi(api_client)
40+
nested = True # bool | show nested component instead of id (optional)
41+
ids = ['ids_example'] # List[str] | choose the specific ids you wish to get (optional)
42+
page = 56 # int | page of results (optional)
43+
page_size = 56 # int | number of elements to return on a page (optional)
44+
search = 'imagin' # str | search for entries that contain the substring (optional)
45+
sort = 'created_at' # str | Parameter to sort results on (optional) (default to 'created_at')
46+
desc = True # bool | sort results by descending order (as opposed to ascending order) (optional)
47+
user_id = 'user_id_example' # str | user id you want to filter on (optional)
48+
info = True # bool | display additional information about a nested relationship without displaying fully nested object (optional)
4049

4150
try:
4251
# GET a list of annotations
43-
api_response = api_instance.annotations_get()
52+
api_response = api_instance.annotations_get(nested=nested, ids=ids, page=page, page_size=page_size, search=search, sort=sort, desc=desc, user_id=user_id, info=info)
4453
print("The response of AnnotationsApi->annotations_get:\n")
4554
pprint(api_response)
4655
except Exception as e:
@@ -51,7 +60,18 @@ with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
5160

5261
### Parameters
5362

54-
This endpoint does not need any parameter.
63+
64+
Name | Type | Description | Notes
65+
------------- | ------------- | ------------- | -------------
66+
**nested** | **bool**| show nested component instead of id | [optional]
67+
**ids** | [**List[str]**](str.md)| choose the specific ids you wish to get | [optional]
68+
**page** | **int**| page of results | [optional]
69+
**page_size** | **int**| number of elements to return on a page | [optional]
70+
**search** | **str**| search for entries that contain the substring | [optional]
71+
**sort** | **str**| Parameter to sort results on | [optional] [default to 'created_at']
72+
**desc** | **bool**| sort results by descending order (as opposed to ascending order) | [optional]
73+
**user_id** | **str**| user id you want to filter on | [optional]
74+
**info** | **bool**| display additional information about a nested relationship without displaying fully nested object | [optional]
5575

5676
### Return type
5777

docs/ComposeApi.md

Lines changed: 69 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Method | HTTP request | Description
3232

3333

3434
# **annotations_get**
35-
> AnnotationList annotations_get()
35+
> AnnotationList annotations_get(nested=nested, ids=ids, page=page, page_size=page_size, search=search, sort=sort, desc=desc, user_id=user_id, info=info)
3636
3737
GET a list of annotations
3838

@@ -58,10 +58,19 @@ configuration = neurosynth_compose_sdk.Configuration(
5858
with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
5959
# Create an instance of the API class
6060
api_instance = neurosynth_compose_sdk.ComposeApi(api_client)
61+
nested = True # bool | show nested component instead of id (optional)
62+
ids = ['ids_example'] # List[str] | choose the specific ids you wish to get (optional)
63+
page = 56 # int | page of results (optional)
64+
page_size = 56 # int | number of elements to return on a page (optional)
65+
search = 'imagin' # str | search for entries that contain the substring (optional)
66+
sort = 'created_at' # str | Parameter to sort results on (optional) (default to 'created_at')
67+
desc = True # bool | sort results by descending order (as opposed to ascending order) (optional)
68+
user_id = 'user_id_example' # str | user id you want to filter on (optional)
69+
info = True # bool | display additional information about a nested relationship without displaying fully nested object (optional)
6170

6271
try:
6372
# GET a list of annotations
64-
api_response = api_instance.annotations_get()
73+
api_response = api_instance.annotations_get(nested=nested, ids=ids, page=page, page_size=page_size, search=search, sort=sort, desc=desc, user_id=user_id, info=info)
6574
print("The response of ComposeApi->annotations_get:\n")
6675
pprint(api_response)
6776
except Exception as e:
@@ -72,7 +81,18 @@ with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
7281

7382
### Parameters
7483

75-
This endpoint does not need any parameter.
84+
85+
Name | Type | Description | Notes
86+
------------- | ------------- | ------------- | -------------
87+
**nested** | **bool**| show nested component instead of id | [optional]
88+
**ids** | [**List[str]**](str.md)| choose the specific ids you wish to get | [optional]
89+
**page** | **int**| page of results | [optional]
90+
**page_size** | **int**| number of elements to return on a page | [optional]
91+
**search** | **str**| search for entries that contain the substring | [optional]
92+
**sort** | **str**| Parameter to sort results on | [optional] [default to 'created_at']
93+
**desc** | **bool**| sort results by descending order (as opposed to ascending order) | [optional]
94+
**user_id** | **str**| user id you want to filter on | [optional]
95+
**info** | **bool**| display additional information about a nested relationship without displaying fully nested object | [optional]
7696

7797
### Return type
7898

@@ -1347,7 +1367,7 @@ Name | Type | Description | Notes
13471367
[[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)
13481368

13491369
# **specifications_get**
1350-
> SpecificationList specifications_get()
1370+
> SpecificationList specifications_get(nested=nested, ids=ids, page=page, page_size=page_size, search=search, sort=sort, desc=desc, user_id=user_id, info=info)
13511371
13521372
Get a list of Specifications
13531373

@@ -1373,10 +1393,19 @@ configuration = neurosynth_compose_sdk.Configuration(
13731393
with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
13741394
# Create an instance of the API class
13751395
api_instance = neurosynth_compose_sdk.ComposeApi(api_client)
1396+
nested = True # bool | show nested component instead of id (optional)
1397+
ids = ['ids_example'] # List[str] | choose the specific ids you wish to get (optional)
1398+
page = 56 # int | page of results (optional)
1399+
page_size = 56 # int | number of elements to return on a page (optional)
1400+
search = 'imagin' # str | search for entries that contain the substring (optional)
1401+
sort = 'created_at' # str | Parameter to sort results on (optional) (default to 'created_at')
1402+
desc = True # bool | sort results by descending order (as opposed to ascending order) (optional)
1403+
user_id = 'user_id_example' # str | user id you want to filter on (optional)
1404+
info = True # bool | display additional information about a nested relationship without displaying fully nested object (optional)
13761405

13771406
try:
13781407
# Get a list of Specifications
1379-
api_response = api_instance.specifications_get()
1408+
api_response = api_instance.specifications_get(nested=nested, ids=ids, page=page, page_size=page_size, search=search, sort=sort, desc=desc, user_id=user_id, info=info)
13801409
print("The response of ComposeApi->specifications_get:\n")
13811410
pprint(api_response)
13821411
except Exception as e:
@@ -1387,7 +1416,18 @@ with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
13871416

13881417
### Parameters
13891418

1390-
This endpoint does not need any parameter.
1419+
1420+
Name | Type | Description | Notes
1421+
------------- | ------------- | ------------- | -------------
1422+
**nested** | **bool**| show nested component instead of id | [optional]
1423+
**ids** | [**List[str]**](str.md)| choose the specific ids you wish to get | [optional]
1424+
**page** | **int**| page of results | [optional]
1425+
**page_size** | **int**| number of elements to return on a page | [optional]
1426+
**search** | **str**| search for entries that contain the substring | [optional]
1427+
**sort** | **str**| Parameter to sort results on | [optional] [default to 'created_at']
1428+
**desc** | **bool**| sort results by descending order (as opposed to ascending order) | [optional]
1429+
**user_id** | **str**| user id you want to filter on | [optional]
1430+
**info** | **bool**| display additional information about a nested relationship without displaying fully nested object | [optional]
13911431

13921432
### Return type
13931433

@@ -1649,7 +1689,7 @@ Name | Type | Description | Notes
16491689
[[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)
16501690

16511691
# **studysets_get**
1652-
> StudysetList studysets_get()
1692+
> StudysetList studysets_get(nested=nested, ids=ids, page=page, page_size=page_size, search=search, sort=sort, desc=desc, user_id=user_id, info=info)
16531693
16541694
Get a list of Studysets
16551695

@@ -1675,10 +1715,19 @@ configuration = neurosynth_compose_sdk.Configuration(
16751715
with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
16761716
# Create an instance of the API class
16771717
api_instance = neurosynth_compose_sdk.ComposeApi(api_client)
1718+
nested = True # bool | show nested component instead of id (optional)
1719+
ids = ['ids_example'] # List[str] | choose the specific ids you wish to get (optional)
1720+
page = 56 # int | page of results (optional)
1721+
page_size = 56 # int | number of elements to return on a page (optional)
1722+
search = 'imagin' # str | search for entries that contain the substring (optional)
1723+
sort = 'created_at' # str | Parameter to sort results on (optional) (default to 'created_at')
1724+
desc = True # bool | sort results by descending order (as opposed to ascending order) (optional)
1725+
user_id = 'user_id_example' # str | user id you want to filter on (optional)
1726+
info = True # bool | display additional information about a nested relationship without displaying fully nested object (optional)
16781727

16791728
try:
16801729
# Get a list of Studysets
1681-
api_response = api_instance.studysets_get()
1730+
api_response = api_instance.studysets_get(nested=nested, ids=ids, page=page, page_size=page_size, search=search, sort=sort, desc=desc, user_id=user_id, info=info)
16821731
print("The response of ComposeApi->studysets_get:\n")
16831732
pprint(api_response)
16841733
except Exception as e:
@@ -1689,7 +1738,18 @@ with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
16891738

16901739
### Parameters
16911740

1692-
This endpoint does not need any parameter.
1741+
1742+
Name | Type | Description | Notes
1743+
------------- | ------------- | ------------- | -------------
1744+
**nested** | **bool**| show nested component instead of id | [optional]
1745+
**ids** | [**List[str]**](str.md)| choose the specific ids you wish to get | [optional]
1746+
**page** | **int**| page of results | [optional]
1747+
**page_size** | **int**| number of elements to return on a page | [optional]
1748+
**search** | **str**| search for entries that contain the substring | [optional]
1749+
**sort** | **str**| Parameter to sort results on | [optional] [default to 'created_at']
1750+
**desc** | **bool**| sort results by descending order (as opposed to ascending order) | [optional]
1751+
**user_id** | **str**| user id you want to filter on | [optional]
1752+
**info** | **bool**| display additional information about a nested relationship without displaying fully nested object | [optional]
16931753

16941754
### Return type
16951755

0 commit comments

Comments
 (0)