Skip to content

Commit 3bf3ee7

Browse files
34b572ed938dcf3ca81b3f1f7054470bfd474ba1
1 parent f7314e8 commit 3bf3ee7

26 files changed

+504
-105
lines changed

.openapi-generator/FILES

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ docs/ConditionRequest.md
4444
docs/ConditionReturn.md
4545
docs/ConditionsApi.md
4646
docs/Entity.md
47+
docs/ErrorDetail.md
48+
docs/ErrorResponse.md
4749
docs/ImageBase.md
4850
docs/ImageCommon.md
4951
docs/ImageList.md
@@ -102,8 +104,6 @@ docs/StudysetReturn.md
102104
docs/StudysetReturnRelationships.md
103105
docs/StudysetReturnRelationshipsStudies.md
104106
docs/StudysetsApi.md
105-
docs/StudysetsIdGet404Response.md
106-
docs/StudysetsIdPut422Response.md
107107
docs/User.md
108108
docs/UserApi.md
109109
docs/UserList.md
@@ -167,6 +167,8 @@ neurostore_sdk/models/condition_list.py
167167
neurostore_sdk/models/condition_request.py
168168
neurostore_sdk/models/condition_return.py
169169
neurostore_sdk/models/entity.py
170+
neurostore_sdk/models/error_detail.py
171+
neurostore_sdk/models/error_response.py
170172
neurostore_sdk/models/image_base.py
171173
neurostore_sdk/models/image_common.py
172174
neurostore_sdk/models/image_list.py
@@ -216,8 +218,6 @@ neurostore_sdk/models/studyset_request_relationships.py
216218
neurostore_sdk/models/studyset_return.py
217219
neurostore_sdk/models/studyset_return_relationships.py
218220
neurostore_sdk/models/studyset_return_relationships_studies.py
219-
neurostore_sdk/models/studysets_id_get404_response.py
220-
neurostore_sdk/models/studysets_id_put422_response.py
221221
neurostore_sdk/models/user.py
222222
neurostore_sdk/models/user_list.py
223223
neurostore_sdk/models/userless_resource_attributes.py
@@ -229,7 +229,6 @@ setup.cfg
229229
setup.py
230230
test-requirements.txt
231231
test/__init__.py
232-
test/test_pipeline_embedding.py
233-
test/test_pipeline_embedding_list.py
234-
test/test_pipeline_embeddings_api.py
232+
test/test_error_detail.py
233+
test/test_error_response.py
235234
tox.ini

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ Class | Method | HTTP request | Description
246246
- [ConditionRequest](docs/ConditionRequest.md)
247247
- [ConditionReturn](docs/ConditionReturn.md)
248248
- [Entity](docs/Entity.md)
249+
- [ErrorDetail](docs/ErrorDetail.md)
250+
- [ErrorResponse](docs/ErrorResponse.md)
249251
- [ImageBase](docs/ImageBase.md)
250252
- [ImageCommon](docs/ImageCommon.md)
251253
- [ImageList](docs/ImageList.md)
@@ -295,8 +297,6 @@ Class | Method | HTTP request | Description
295297
- [StudysetReturn](docs/StudysetReturn.md)
296298
- [StudysetReturnRelationships](docs/StudysetReturnRelationships.md)
297299
- [StudysetReturnRelationshipsStudies](docs/StudysetReturnRelationshipsStudies.md)
298-
- [StudysetsIdGet404Response](docs/StudysetsIdGet404Response.md)
299-
- [StudysetsIdPut422Response](docs/StudysetsIdPut422Response.md)
300300
- [User](docs/User.md)
301301
- [UserList](docs/UserList.md)
302302
- [UserlessResourceAttributes](docs/UserlessResourceAttributes.md)

docs/AnalysesApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ No authorization required
241241
| Status code | Description | Response headers |
242242
|-------------|-------------|------------------|
243243
**200** | OK | - |
244-
**404** | Example response | - |
244+
**404** | Not Found | - |
245245

246246
[[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)
247247

@@ -323,7 +323,7 @@ Name | Type | Description | Notes
323323
| Status code | Description | Response headers |
324324
|-------------|-------------|------------------|
325325
**200** | OK | - |
326-
**422** | Example response | - |
326+
**422** | Unprocessable Entity | - |
327327

328328
[[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)
329329

docs/ConditionsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ No authorization required
233233
| Status code | Description | Response headers |
234234
|-------------|-------------|------------------|
235235
**200** | OK | - |
236-
**404** | Example response | - |
236+
**404** | Not Found | - |
237237

238238
[[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)
239239

@@ -315,7 +315,7 @@ Name | Type | Description | Notes
315315
| Status code | Description | Response headers |
316316
|-------------|-------------|------------------|
317317
**200** | OK | - |
318-
**422** | Example response | - |
318+
**422** | Unprocessable Entity | - |
319319

320320
[[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)
321321

docs/ErrorDetail.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# ErrorDetail
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**var_field** | **str** | Field name that caused the error | [optional]
9+
**code** | **str** | Machine-readable error code |
10+
**message** | **str** | Human-readable error message |
11+
**context** | **Dict[str, object]** | Additional error context | [optional]
12+
13+
## Example
14+
15+
```python
16+
from neurostore_sdk.models.error_detail import ErrorDetail
17+
18+
# TODO update the JSON string below
19+
json = "{}"
20+
# create an instance of ErrorDetail from a JSON string
21+
error_detail_instance = ErrorDetail.from_json(json)
22+
# print the JSON string representation of the object
23+
print(ErrorDetail.to_json())
24+
25+
# convert the object into a dict
26+
error_detail_dict = error_detail_instance.to_dict()
27+
# create an instance of ErrorDetail from a dict
28+
error_detail_from_dict = ErrorDetail.from_dict(error_detail_dict)
29+
```
30+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31+
32+

docs/ErrorResponse.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# ErrorResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**status** | **int** | HTTP status code |
9+
**title** | **str** | Short, human-readable summary |
10+
**detail** | **str** | Human-readable explanation |
11+
**type** | **str** | URI reference for error type | [optional] [default to 'about:blank']
12+
**instance** | **str** | URI reference for specific occurrence | [optional]
13+
**errors** | [**List[ErrorDetail]**](ErrorDetail.md) | Field-specific validation errors | [optional]
14+
**timestamp** | **datetime** | ISO 8601 timestamp |
15+
**request_id** | **str** | Unique request identifier |
16+
17+
## Example
18+
19+
```python
20+
from neurostore_sdk.models.error_response import ErrorResponse
21+
22+
# TODO update the JSON string below
23+
json = "{}"
24+
# create an instance of ErrorResponse from a JSON string
25+
error_response_instance = ErrorResponse.from_json(json)
26+
# print the JSON string representation of the object
27+
print(ErrorResponse.to_json())
28+
29+
# convert the object into a dict
30+
error_response_dict = error_response_instance.to_dict()
31+
# create an instance of ErrorResponse from a dict
32+
error_response_from_dict = ErrorResponse.from_dict(error_response_dict)
33+
```
34+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
35+
36+

docs/ImagesApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ No authorization required
237237
| Status code | Description | Response headers |
238238
|-------------|-------------|------------------|
239239
**200** | OK | - |
240-
**404** | Example response | - |
240+
**404** | Not Found | - |
241241

242242
[[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)
243243

@@ -319,7 +319,7 @@ Name | Type | Description | Notes
319319
| Status code | Description | Response headers |
320320
|-------------|-------------|------------------|
321321
**200** | OK | - |
322-
**422** | Example response | - |
322+
**422** | Unprocessable Entity | - |
323323

324324
[[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)
325325

docs/PipelineEmbeddingsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ No authorization required
137137
| Status code | Description | Response headers |
138138
|-------------|-------------|------------------|
139139
**200** | OK | - |
140-
**404** | Example response | - |
140+
**404** | Not Found | - |
141141

142142
[[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)
143143

docs/PointsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ Name | Type | Description | Notes
301301
| Status code | Description | Response headers |
302302
|-------------|-------------|------------------|
303303
**200** | OK | - |
304-
**422** | Example response | - |
304+
**422** | Unprocessable Entity | - |
305305

306306
[[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)
307307

docs/StoreApi.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ No authorization required
274274
| Status code | Description | Response headers |
275275
|-------------|-------------|------------------|
276276
**200** | OK | - |
277-
**404** | Example response | - |
277+
**404** | Not Found | - |
278278

279279
[[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)
280280

@@ -356,7 +356,7 @@ Name | Type | Description | Notes
356356
| Status code | Description | Response headers |
357357
|-------------|-------------|------------------|
358358
**200** | OK | - |
359-
**422** | Example response | - |
359+
**422** | Unprocessable Entity | - |
360360

361361
[[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)
362362

@@ -1701,7 +1701,7 @@ No authorization required
17011701
| Status code | Description | Response headers |
17021702
|-------------|-------------|------------------|
17031703
**200** | OK | - |
1704-
**404** | Example response | - |
1704+
**404** | Not Found | - |
17051705

17061706
[[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)
17071707

@@ -1783,7 +1783,7 @@ Name | Type | Description | Notes
17831783
| Status code | Description | Response headers |
17841784
|-------------|-------------|------------------|
17851785
**200** | OK | - |
1786-
**422** | Example response | - |
1786+
**422** | Unprocessable Entity | - |
17871787

17881788
[[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)
17891789

@@ -2092,7 +2092,7 @@ No authorization required
20922092
| Status code | Description | Response headers |
20932093
|-------------|-------------|------------------|
20942094
**200** | OK | - |
2095-
**404** | Example response | - |
2095+
**404** | Not Found | - |
20962096

20972097
[[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)
20982098

@@ -2174,7 +2174,7 @@ Name | Type | Description | Notes
21742174
| Status code | Description | Response headers |
21752175
|-------------|-------------|------------------|
21762176
**200** | OK | - |
2177-
**422** | Example response | - |
2177+
**422** | Unprocessable Entity | - |
21782178

21792179
[[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)
21802180

@@ -2547,7 +2547,7 @@ Name | Type | Description | Notes
25472547
| Status code | Description | Response headers |
25482548
|-------------|-------------|------------------|
25492549
**200** | OK | - |
2550-
**422** | Example response | - |
2550+
**422** | Unprocessable Entity | - |
25512551

25522552
[[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)
25532553

@@ -2892,7 +2892,7 @@ No authorization required
28922892
| Status code | Description | Response headers |
28932893
|-------------|-------------|------------------|
28942894
**200** | Study Found | - |
2895-
**404** | Example response | - |
2895+
**404** | Not Found | - |
28962896

28972897
[[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)
28982898

@@ -2974,7 +2974,7 @@ Name | Type | Description | Notes
29742974
| Status code | Description | Response headers |
29752975
|-------------|-------------|------------------|
29762976
**200** | OK | - |
2977-
**422** | Example response | - |
2977+
**422** | Unprocessable Entity | - |
29782978

29792979
[[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)
29802980

@@ -3205,7 +3205,7 @@ No authorization required
32053205
| Status code | Description | Response headers |
32063206
|-------------|-------------|------------------|
32073207
**200** | studyset found | - |
3208-
**404** | Example response | - |
3208+
**404** | Not Found | - |
32093209

32103210
[[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)
32113211

@@ -3287,7 +3287,7 @@ Name | Type | Description | Notes
32873287
| Status code | Description | Response headers |
32883288
|-------------|-------------|------------------|
32893289
**200** | OK | - |
3290-
**422** | Example response | - |
3290+
**422** | Unprocessable Entity | - |
32913291

32923292
[[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)
32933293

0 commit comments

Comments
 (0)