Skip to content

Commit

Permalink
Merge pull request #69 from neurostuff/enh/gzip_studysets
Browse files Browse the repository at this point in the history
remove required attributes
  • Loading branch information
jdkent authored Oct 26, 2023
2 parents a591fdc + 08e4af9 commit f69ab2e
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions neurostore-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,16 @@ paths:
schema:
$ref: '#/components/schemas/studyset-return'
examples: {}
application/gzip:
schema:
type: object
properties: {}
'404':
$ref: '#/components/responses/404'
description: Retrieve the information of a studyset with the matching studyset ID.
parameters:
- $ref: '#/components/parameters/nested'
- $ref: '#/components/parameters/gzip'
put:
summary: PUT/update a studyset
responses:
Expand Down Expand Up @@ -1518,9 +1523,6 @@ components:
resource-attributes:
allOf:
- $ref: '#/components/schemas/readable-resource-attributes'
required:
- created_at
- updated_at
- $ref: '#/components/schemas/writeable-resource-attributes'
requred:
- id
Expand Down Expand Up @@ -1575,7 +1577,7 @@ components:
readOnly: true
updated_at:
type: string
description: when was the resource last modified/updated.
description: when the resource was last modified/updated.
nullable: true
readOnly: true
writeable-resource-attributes:
Expand Down Expand Up @@ -2012,6 +2014,13 @@ components:
schema:
type: boolean
description: show additional for endpoint-object relationships without being fully nested. Incompatible with nested
gzip:
name: gzip
in: query
required: false
schema:
type: boolean
description: return the content as gzipped content
securitySchemes:
JSON-Web-Token:
type: http
Expand Down

0 comments on commit f69ab2e

Please sign in to comment.