diff --git a/neurostore-openapi.yml b/neurostore-openapi.yml index 8afdd74..7b27cb5 100755 --- a/neurostore-openapi.yml +++ b/neurostore-openapi.yml @@ -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: @@ -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 @@ -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: @@ -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