Skip to content

Commit b957573

Browse files
committed
add new endpoints
1 parent e8a0266 commit b957573

1 file changed

Lines changed: 23 additions & 15 deletions

File tree

neurosynth-compose-openapi.yml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ paths:
208208
description: No Content
209209
security:
210210
- JSON-Web-Token: []
211-
/studysets:
211+
/snapshot-studysets:
212212
get:
213213
summary: Get a list of Studysets
214214
tags:
@@ -263,7 +263,7 @@ paths:
263263
schema:
264264
$ref: '#/components/schemas/studyset-post-body'
265265
description: create a new serialized/referenced studyset
266-
'/studysets/{id}':
266+
'/snapshot-studysets/{id}':
267267
parameters:
268268
- schema:
269269
type: string
@@ -317,7 +317,7 @@ paths:
317317
schema:
318318
$ref: '#/components/schemas/studyset'
319319
description: update an existing serialized/referenced studyset
320-
/annotations:
320+
/snapshot-annotations:
321321
get:
322322
summary: GET a list of annotations
323323
tags:
@@ -371,7 +371,7 @@ paths:
371371
security:
372372
- JSON-Web-Token: []
373373
description: create a new serialized/referenced annotation
374-
'/annotations/{id}':
374+
'/snapshot-annotations/{id}':
375375
parameters:
376376
- schema:
377377
type: string
@@ -1087,7 +1087,7 @@ paths:
10871087
application/json:
10881088
schema:
10891089
$ref: '#/components/schemas/tag-return'
1090-
/studyset-references:
1090+
/neurostore-studysets:
10911091
get:
10921092
summary: Your GET endpoint
10931093
tags: []
@@ -1103,7 +1103,7 @@ paths:
11031103
description: ''
11041104
parameters:
11051105
- $ref: '#/components/parameters/nested'
1106-
'/studyset-references/{id}':
1106+
'/neurostore-studysets/{id}':
11071107
parameters:
11081108
- schema:
11091109
type: string
@@ -1513,7 +1513,7 @@ components:
15131513
allOf:
15141514
- type: object
15151515
properties:
1516-
cached_studyset_id:
1516+
snapshot_studyset_id:
15171517
type: string
15181518
x-stoplight:
15191519
id: o1xgfte8bodzp
@@ -1693,11 +1693,11 @@ components:
16931693
- $ref: '#/components/schemas/read-only'
16941694
- type: object
16951695
properties:
1696-
cached_studyset_id:
1696+
snapshot_studyset_id:
16971697
type: string
16981698
nullable: true
16991699
readOnly: true
1700-
cached_annotation_id:
1700+
snapshot_annotation_id:
17011701
type: string
17021702
nullable: true
17031703
readOnly: true
@@ -1872,6 +1872,14 @@ components:
18721872
description:
18731873
type: string
18741874
nullable: true
1875+
neurostore_studyset_id:
1876+
type: string
1877+
nullable: true
1878+
description: ID of the project’s linked Neurostore studyset reference.
1879+
neurostore_annotation_id:
1880+
type: string
1881+
nullable: true
1882+
description: ID of the project’s linked Neurostore annotation reference.
18751883
public:
18761884
type: boolean
18771885
x-stoplight:
@@ -2035,11 +2043,11 @@ components:
20352043
x-stoplight:
20362044
id: vaj7hv8uacxth
20372045
writeOnly: true
2038-
cached_studyset:
2046+
snapshot_studyset:
20392047
type: string
20402048
description: JSON-encoded studyset snapshot payload, optionally provided in multipart form.
20412049
writeOnly: true
2042-
cached_annotation:
2050+
snapshot_annotation:
20432051
type: string
20442052
description: JSON-encoded annotation snapshot payload, optionally provided in multipart form.
20452053
writeOnly: true
@@ -2053,18 +2061,18 @@ components:
20532061
type: string
20542062
x-stoplight:
20552063
id: jbludrenxdfdl
2056-
cached_studyset:
2064+
snapshot_studyset:
20572065
type: object
20582066
x-stoplight:
20592067
id: 034jmd5z1k2pm
2060-
cached_annotation:
2068+
snapshot_annotation:
20612069
type: object
20622070
x-stoplight:
20632071
id: 2ybs3z7bw47p1
2064-
cached_studyset_id:
2072+
snapshot_studyset_id:
20652073
type: string
20662074
description: ID of an existing cached studyset snapshot to link to this result.
2067-
cached_annotation_id:
2075+
snapshot_annotation_id:
20682076
type: string
20692077
description: ID of an existing cached annotation snapshot to link to this result.
20702078
cli_version:

0 commit comments

Comments
 (0)