Skip to content

Commit 66dcc27

Browse files
committed
Merge branch 'main' of github.com:neurostuff/neurostore-spec into main
2 parents dcf5e49 + 18d5398 commit 66dcc27

File tree

1 file changed

+58
-32
lines changed

1 file changed

+58
-32
lines changed

neurosynth-compose-openapi.yml

Lines changed: 58 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ paths:
201201
delete:
202202
summary: ''
203203
responses:
204-
'200':
205-
description: OK
204+
'204':
205+
description: No Content
206206
security:
207207
- JSON-Web-Token: []
208208
/studysets:
@@ -222,6 +222,16 @@ paths:
222222
'400':
223223
$ref: '#/components/responses/bad-request'
224224
description: get a list of serialized/referenced studysets
225+
parameters:
226+
- $ref: '#/components/parameters/nested'
227+
- $ref: '#/components/parameters/ids'
228+
- $ref: '#/components/parameters/page'
229+
- $ref: '#/components/parameters/page_size'
230+
- $ref: '#/components/parameters/search'
231+
- $ref: '#/components/parameters/sort'
232+
- $ref: '#/components/parameters/desc'
233+
- $ref: '#/components/parameters/user_id'
234+
- $ref: '#/components/parameters/info'
225235
parameters: []
226236
post:
227237
summary: Create a new Studyset
@@ -321,6 +331,16 @@ paths:
321331
'400':
322332
$ref: '#/components/responses/bad-request'
323333
description: get a list of serialized/referenced annotations
334+
parameters:
335+
- $ref: '#/components/parameters/nested'
336+
- $ref: '#/components/parameters/ids'
337+
- $ref: '#/components/parameters/page'
338+
- $ref: '#/components/parameters/page_size'
339+
- $ref: '#/components/parameters/search'
340+
- $ref: '#/components/parameters/sort'
341+
- $ref: '#/components/parameters/desc'
342+
- $ref: '#/components/parameters/user_id'
343+
- $ref: '#/components/parameters/info'
324344
post:
325345
summary: Create a new Annotation
326346
responses:
@@ -419,6 +439,16 @@ paths:
419439
- specifications
420440
- get
421441
- compose
442+
parameters:
443+
- $ref: '#/components/parameters/nested'
444+
- $ref: '#/components/parameters/ids'
445+
- $ref: '#/components/parameters/page'
446+
- $ref: '#/components/parameters/page_size'
447+
- $ref: '#/components/parameters/search'
448+
- $ref: '#/components/parameters/sort'
449+
- $ref: '#/components/parameters/desc'
450+
- $ref: '#/components/parameters/user_id'
451+
- $ref: '#/components/parameters/info'
422452
parameters: []
423453
post:
424454
summary: Create a Specification
@@ -825,8 +855,8 @@ paths:
825855
delete:
826856
summary: ''
827857
responses:
828-
'200':
829-
description: OK
858+
'204':
859+
description: No Content
830860
security:
831861
- JSON-Web-Token: []
832862
tags:
@@ -1674,36 +1704,32 @@ components:
16741704
type: object
16751705
properties:
16761706
statistical_maps:
1677-
type: array
1678-
x-stoplight:
1679-
id: lkxyrr8tetdd0
1680-
format: byte
1681-
items:
1682-
x-stoplight:
1683-
id: 863sfmz4qo0tw
1684-
type: string
1685-
format: byte
1686-
writeOnly: true
1707+
oneOf:
1708+
- type: string
1709+
format: binary
1710+
- type: array
1711+
items:
1712+
type: string
1713+
format: binary
1714+
writeOnly: true
16871715
cluster_tables:
1688-
type: array
1689-
x-stoplight:
1690-
id: f9w2vqez2fskv
1691-
items:
1692-
x-stoplight:
1693-
id: ufm97m0f563yj
1694-
type: string
1695-
format: byte
1696-
writeOnly: true
1716+
oneOf:
1717+
- type: string
1718+
format: binary
1719+
- type: array
1720+
items:
1721+
type: string
1722+
format: binary
1723+
writeOnly: true
16971724
diagnostic_tables:
1698-
type: array
1699-
x-stoplight:
1700-
id: tzdedwx8qdj37
1701-
items:
1702-
x-stoplight:
1703-
id: 5uiu0p99l9s05
1704-
type: string
1705-
format: byte
1706-
writeOnly: true
1725+
oneOf:
1726+
- type: string
1727+
format: binary
1728+
- type: array
1729+
items:
1730+
type: string
1731+
format: binary
1732+
writeOnly: true
17071733
method_description:
17081734
type: string
17091735
x-stoplight:

0 commit comments

Comments
 (0)