Skip to content

Commit dc54689

Browse files
committed
add project clone ability
1 parent 66dcc27 commit dc54689

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

neurosynth-compose-openapi.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,9 @@ paths:
806806
$ref: '#/components/schemas/project'
807807
security:
808808
- JSON-Web-Token: []
809+
parameters:
810+
- $ref: '#/components/parameters/source_id'
811+
- $ref: '#/components/parameters/copy_annotations'
809812
tags:
810813
- projects
811814
- post
@@ -1893,6 +1896,20 @@ components:
18931896
schema:
18941897
type: string
18951898
description: user id you want to filter on
1899+
source_id:
1900+
name: source_id
1901+
in: query
1902+
required: false
1903+
schema:
1904+
type: string
1905+
description: clone an existing project when creating a new project
1906+
copy_annotations:
1907+
name: copy_annotations
1908+
in: query
1909+
required: false
1910+
schema:
1911+
type: boolean
1912+
description: when cloning via `source_id`, also duplicate associated annotations
18961913
responses:
18971914
bad-request:
18981915
description: form when a request goes wrong

0 commit comments

Comments
 (0)