Skip to content

Commit e8a0266

Browse files
committed
update
1 parent 7003a37 commit e8a0266

1 file changed

Lines changed: 20 additions & 41 deletions

File tree

neurosynth-compose-openapi.yml

Lines changed: 20 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,18 +1261,6 @@ components:
12611261
type: string
12621262
description: Tag name or tag ID
12631263
type: array
1264-
cached_studyset_id:
1265-
type: string
1266-
description: The id of the studyset on neurosynth-compose (as opposed to the id of the studyset on neurostore). Multiple snapshots of the studyset can be stored on neurosynth-compose so knowing which snapshot is being referenced is necessary.
1267-
x-stoplight:
1268-
id: 5umhos11daq87
1269-
writeOnly: true
1270-
cached_annotation_id:
1271-
type: string
1272-
description: The id of the annotation on neurosynth-compose (as opposed to the id of the annotation on neurostore). Multiple snapshots of the annotation can be stored on neurosynth-compose so knowing which snapshot is being referenced is necessary.
1273-
x-stoplight:
1274-
id: vsgca0e0vmu2n
1275-
writeOnly: true
12761264
results:
12771265
description: 'array of neurostore ids representing the results of this meta-analysis (nominally all results should be the same, but machine architecture differences/algorithm stochastic-ness may lead to slightly different outcomes for each result.'
12781266
oneOf:
@@ -1330,18 +1318,6 @@ components:
13301318
x-stoplight:
13311319
id: sdiexwaai5l1g
13321320
nullable: true
1333-
cached_studyset:
1334-
type: string
1335-
x-stoplight:
1336-
id: hg5kvvz31sw5j
1337-
nullable: true
1338-
readOnly: true
1339-
cached_annotation:
1340-
type: string
1341-
x-stoplight:
1342-
id: 262rx5ainvdaa
1343-
nullable: true
1344-
readOnly: true
13451321
neurostore_url:
13461322
type: string
13471323
x-stoplight:
@@ -1541,7 +1517,6 @@ components:
15411517
type: string
15421518
x-stoplight:
15431519
id: o1xgfte8bodzp
1544-
writeOnly: true
15451520
- $ref: '#/components/schemas/annotation'
15461521
x-tags:
15471522
- annotations
@@ -1556,8 +1531,6 @@ components:
15561531
title: annotation-post-body
15571532
allOf:
15581533
- $ref: '#/components/schemas/annotation-update'
1559-
- required:
1560-
- cached_studyset_id
15611534
x-tags:
15621535
- annotations
15631536
studyset-post-body:
@@ -1573,8 +1546,6 @@ components:
15731546
allOf:
15741547
- $ref: '#/components/schemas/meta-analysis'
15751548
- required:
1576-
- cached_annotation_id
1577-
- cached_studyset_id
15781549
- specification
15791550
x-tags:
15801551
- meta_analyses
@@ -1715,19 +1686,21 @@ components:
17151686
x-stoplight:
17161687
id: ojkan45ot796m
17171688
nullable: true
1718-
studyset_snapshot:
1719-
type: object
1720-
description: JSON payload accepted for snapshot updates via PUT.
1721-
writeOnly: true
1722-
annotation_snapshot:
1723-
type: object
1724-
description: JSON payload accepted for snapshot updates via PUT.
1725-
writeOnly: true
17261689
result-return:
17271690
title: result-return
17281691
allOf:
17291692
- $ref: '#/components/schemas/result'
17301693
- $ref: '#/components/schemas/read-only'
1694+
- type: object
1695+
properties:
1696+
cached_studyset_id:
1697+
type: string
1698+
nullable: true
1699+
readOnly: true
1700+
cached_annotation_id:
1701+
type: string
1702+
nullable: true
1703+
readOnly: true
17311704
x-tags:
17321705
- meta_analyses
17331706
result-list:
@@ -2062,11 +2035,11 @@ components:
20622035
x-stoplight:
20632036
id: vaj7hv8uacxth
20642037
writeOnly: true
2065-
studyset_snapshot:
2038+
cached_studyset:
20662039
type: string
20672040
description: JSON-encoded studyset snapshot payload, optionally provided in multipart form.
20682041
writeOnly: true
2069-
annotation_snapshot:
2042+
cached_annotation:
20702043
type: string
20712044
description: JSON-encoded annotation snapshot payload, optionally provided in multipart form.
20722045
writeOnly: true
@@ -2080,14 +2053,20 @@ components:
20802053
type: string
20812054
x-stoplight:
20822055
id: jbludrenxdfdl
2083-
studyset_snapshot:
2056+
cached_studyset:
20842057
type: object
20852058
x-stoplight:
20862059
id: 034jmd5z1k2pm
2087-
annotation_snapshot:
2060+
cached_annotation:
20882061
type: object
20892062
x-stoplight:
20902063
id: 2ybs3z7bw47p1
2064+
cached_studyset_id:
2065+
type: string
2066+
description: ID of an existing cached studyset snapshot to link to this result.
2067+
cached_annotation_id:
2068+
type: string
2069+
description: ID of an existing cached annotation snapshot to link to this result.
20912070
cli_version:
20922071
type: string
20932072
x-stoplight:

0 commit comments

Comments
 (0)