Skip to content

Commit 601e9fa

Browse files
committed
add meta-analysis-sync option
1 parent 97d2de3 commit 601e9fa

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

neurosynth-compose-openapi.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,8 @@ paths:
935935
$ref: '#/components/schemas/project'
936936
security:
937937
- JSON-Web-Token: []
938+
parameters:
939+
- $ref: '#/components/parameters/sync_meta_analyses_public'
938940
tags:
939941
- projects
940942
- put
@@ -1245,6 +1247,9 @@ components:
12451247
type: string
12461248
description: Long form description of the meta-analysis.
12471249
nullable: true
1250+
public:
1251+
type: boolean
1252+
description: whether the meta-analysis is public or private
12481253
tags:
12491254
description: Tags associated with this meta-analysis (use tag names or tag IDs).
12501255
oneOf:
@@ -2233,6 +2238,13 @@ components:
22332238
schema:
22342239
type: boolean
22352240
description: when cloning via `source_id`, also duplicate associated annotations
2241+
sync_meta_analyses_public:
2242+
name: sync_meta_analyses_public
2243+
in: query
2244+
required: false
2245+
schema:
2246+
type: boolean
2247+
description: when updating a project's public flag, also set each child meta-analysis to the same public value
22362248
responses:
22372249
bad-request:
22382250
description: form when a request goes wrong

0 commit comments

Comments
 (0)