From 1806f4193f00c627c62f3d3db00c6fb5792b21aa Mon Sep 17 00:00:00 2001 From: "james.kent@austin.utexas.edu" Date: Wed, 31 Jan 2024 23:12:10 -0600 Subject: [PATCH 1/2] add ids parameter --- neurosynth-compose-openapi.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/neurosynth-compose-openapi.yml b/neurosynth-compose-openapi.yml index 114f71e..3c4273d 100644 --- a/neurosynth-compose-openapi.yml +++ b/neurosynth-compose-openapi.yml @@ -101,6 +101,7 @@ paths: description: 'list all runnable specification, studyset, annotation bundles' parameters: - $ref: '#/components/parameters/nested' + - $ref: '#/components/parameters/ids' tags: - meta_analyses - get @@ -1772,6 +1773,13 @@ components: schema: type: boolean description: display additional information about a nested relationship without displaying fully nested object + ids: + name: ids + in: query + required: false + schema: + type: array + description: choose the specific ids you wish to get responses: bad-request: description: form when a request goes wrong From 08e41a217bd733487c9823f84063fdbb5feb9383 Mon Sep 17 00:00:00 2001 From: "james.kent@austin.utexas.edu" Date: Wed, 31 Jan 2024 23:28:33 -0600 Subject: [PATCH 2/2] specify array --- neurosynth-compose-openapi.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neurosynth-compose-openapi.yml b/neurosynth-compose-openapi.yml index 3c4273d..452a2a0 100644 --- a/neurosynth-compose-openapi.yml +++ b/neurosynth-compose-openapi.yml @@ -1779,6 +1779,8 @@ components: required: false schema: type: array + items: + type: string description: choose the specific ids you wish to get responses: bad-request: