From 61b4d04b2978b02965980e31aea6bc21cc4a43d2 Mon Sep 17 00:00:00 2001 From: "james.kent@austin.utexas.edu" Date: Fri, 16 Feb 2024 22:16:09 -0600 Subject: [PATCH] add return_all parameter to neurostore --- neurostore-openapi.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/neurostore-openapi.yml b/neurostore-openapi.yml index 8dee783..ead5806 100644 --- a/neurostore-openapi.yml +++ b/neurostore-openapi.yml @@ -40,6 +40,7 @@ paths: - $ref: '#/components/parameters/source' - $ref: '#/components/parameters/authors' - $ref: '#/components/parameters/user_id' + - $ref: '#/components/parameters/return_all' security: - JSON-Web-Token: [] - {} @@ -161,6 +162,7 @@ paths: - $ref: '#/components/parameters/pmid' - $ref: '#/components/parameters/doi' - $ref: '#/components/parameters/flat' + - $ref: '#/components/parameters/return_all' security: - JSON-Web-Token: [] - {} @@ -833,6 +835,7 @@ paths: - $ref: '#/components/parameters/doi' - $ref: '#/components/parameters/flat' - $ref: '#/components/parameters/info' + - $ref: '#/components/parameters/return_all' security: - JSON-Web-Token: [] - {} @@ -2019,6 +2022,13 @@ components: schema: type: boolean description: return the content as gzipped content + return_all: + name: return_all + in: query + required: false + schema: + type: boolean + description: 'return all results at an endpoint (WARNING: could take a while)' securitySchemes: JSON-Web-Token: type: http