Skip to content

Commit

Permalink
Modified neurostore-openapi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed Jul 13, 2023
1 parent 1284089 commit 69285b3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions neurostore-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ paths:
parameters:
- $ref: '#/components/parameters/nested'
- $ref: '#/components/parameters/studyset_owner'
- $ref: '#/components/parameters/flat'
put:
summary: PUT/update a study
responses:
Expand Down Expand Up @@ -825,6 +826,8 @@ paths:
- $ref: '#/components/parameters/publication'
- $ref: '#/components/parameters/pmid'
- $ref: '#/components/parameters/doi'
- $ref: '#/components/parameters/flat'
- $ref: '#/components/parameters/info'
security:
- JSON-Web-Token: []
- {}
Expand Down Expand Up @@ -862,6 +865,9 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/base-study-return'
parameters:
- $ref: '#/components/parameters/flat'
- $ref: '#/components/parameters/info'
put:
summary: ''
responses:
Expand Down Expand Up @@ -1953,6 +1959,23 @@ components:
schema:
type: string
description: search for study with specific doi
flat:
name: flat
in: query
required: false
schema:
type: string
enum:
- 'true'
- 'false'
description: 'do not return any embedded relationships. When set, it is incompatible with nested. '
info:
name: info
in: query
required: false
schema:
type: string
description: show additional for endpoint-object relationships without being fully nested. Incompatible with nested
securitySchemes:
JSON-Web-Token:
type: http
Expand Down

0 comments on commit 69285b3

Please sign in to comment.