From c7a9b053869cd40238048f017015faef32162058 Mon Sep 17 00:00:00 2001 From: "james.kent@austin.utexas.edu" Date: Wed, 28 Feb 2024 20:49:04 -0600 Subject: [PATCH] add new parameters --- neurosynth-compose-openapi.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/neurosynth-compose-openapi.yml b/neurosynth-compose-openapi.yml index 372820e..130c677 100644 --- a/neurosynth-compose-openapi.yml +++ b/neurosynth-compose-openapi.yml @@ -108,6 +108,7 @@ paths: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/description' - $ref: '#/components/parameters/sort' + - $ref: '#/components/parameters/desc' tags: - meta_analyses - get @@ -757,6 +758,7 @@ paths: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/description' - $ref: '#/components/parameters/sort' + - $ref: '#/components/parameters/desc' post: summary: '' responses: @@ -1772,6 +1774,13 @@ components: in: header name: Compose-Upload-Key parameters: + desc: + name: desc + in: query + required: false + schema: + type: boolean + description: sort results by descending order (as opposed to ascending order) sort: name: sort in: query