Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] add project meta analysis pagination #76

Merged
merged 2 commits into from
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions neurosynth-compose-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ 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'
- $ref: '#/components/parameters/desc'
tags:
- meta_analyses
- get
Expand Down Expand Up @@ -744,6 +751,14 @@ 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'
- $ref: '#/components/parameters/desc'
post:
summary: ''
responses:
Expand Down Expand Up @@ -1759,6 +1774,64 @@ 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
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
Loading