Skip to content

Commit

Permalink
create studyset-references endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed Sep 20, 2023
1 parent 479f2f5 commit 63301d9
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions neurosynth-compose-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,41 @@ paths:
security:
- JSON-Web-Token: []
x-internal: true
/studyset-references:
get:
summary: Your GET endpoint
tags: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/studyset-reference-list'
x-stoplight:
id: kzl4p104nysct
description: ''
requestBody:
content: {}
'/studyset-references/{id}':
parameters:
- schema:
type: string
name: id
in: path
required: true
get:
summary: Your GET endpoint
tags: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/studyset-reference-return'
x-stoplight:
id: beely5hhaisxm
components:
schemas:
specification:
Expand Down Expand Up @@ -1632,6 +1667,45 @@ components:
type: string
x-stoplight:
id: jl2m62skyazrg
studyset-reference:
title: studyset-reference
x-stoplight:
id: 4ck154dc5tklb
type: object
properties:
snapshots:
type: array
x-stoplight:
id: h20wq8miy4mdl
items:
x-stoplight:
id: dwig8g1opu989
oneOf:
- type: string
x-stoplight:
id: mjq9g1kygu2z1
- $ref: '#/components/schemas/studyset'
studyset-reference-return:
title: studyset-reference-return
x-stoplight:
id: 0i6hurlz2rpts
allOf:
- $ref: '#/components/schemas/studyset-reference'
- $ref: '#/components/schemas/read-only'
studyset-reference-list:
title: studyset-reference-list
x-stoplight:
id: okhi8rg7azb97
type: object
properties:
results:
type: array
x-stoplight:
id: aavkrqap4jrz6
items:
$ref: '#/components/schemas/studyset-reference-return'
metadata:
$ref: '#/components/schemas/metadata'
securitySchemes:
JSON-Web-Token:
type: http
Expand Down

0 comments on commit 63301d9

Please sign in to comment.