Skip to content

Commit

Permalink
add page search paramaters
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed Feb 29, 2024
1 parent 9a392d1 commit 6a1f720
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions neurosynth-compose-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ paths:
parameters:
- $ref: '#/components/parameters/nested'
- $ref: '#/components/parameters/ids'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/page_size'
- $ref: '#/components/parameters/name'
- $ref: '#/components/parameters/search'
- $ref: '#/components/parameters/description'
- $ref: '#/components/parameters/sort'
tags:
- meta_analyses
- get
Expand Down Expand Up @@ -744,6 +750,13 @@ paths:
security:
- JSON-Web-Token: []
- {}
parameters:
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/page_size'
- $ref: '#/components/parameters/name'
- $ref: '#/components/parameters/search'
- $ref: '#/components/parameters/description'
- $ref: '#/components/parameters/sort'
post:
summary: ''
responses:
Expand Down Expand Up @@ -1759,6 +1772,57 @@ components:
in: header
name: Compose-Upload-Key
parameters:
sort:
name: sort
in: query
required: false
schema:
type: string
default: created_at
description: Parameter to sort results on
search:
name: search
in: query
required: false
schema:
type: string
minLength: 1
example: imagin
description: search for entries that contain the substring
description:
name: description
in: query
required: false
schema:
type: string
description: search description field for a term
name:
name: name
in: query
required: false
schema:
type: string
description: search the name field for a term
page:
name: page
in: query
required: false
schema:
type: integer
format: int32
minimum: 0
description: page of results
page_size:
name: page_size
in: query
required: false
schema:
type: integer
maximum: 30000
exclusiveMaximum: true
minimum: 1
format: int32
description: number of elements to return on a page
nested:
name: nested
in: query
Expand Down

0 comments on commit 6a1f720

Please sign in to comment.