You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: neurosynth-compose-openapi.yml
+144Lines changed: 144 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1015,6 +1015,76 @@ paths:
1015
1015
security:
1016
1016
- JSON-Web-Token: []
1017
1017
x-internal: true
1018
+
/tags:
1019
+
get:
1020
+
summary: Get a list of Tags
1021
+
tags:
1022
+
- tags
1023
+
- get
1024
+
- compose
1025
+
responses:
1026
+
'200':
1027
+
description: OK
1028
+
content:
1029
+
application/json:
1030
+
schema:
1031
+
$ref: '#/components/schemas/tag-list'
1032
+
security:
1033
+
- JSON-Web-Token: []
1034
+
- {}
1035
+
parameters:
1036
+
- $ref: '#/components/parameters/ids'
1037
+
- $ref: '#/components/parameters/page'
1038
+
- $ref: '#/components/parameters/page_size'
1039
+
- $ref: '#/components/parameters/name'
1040
+
- $ref: '#/components/parameters/search'
1041
+
- $ref: '#/components/parameters/filter'
1042
+
- $ref: '#/components/parameters/description'
1043
+
- $ref: '#/components/parameters/group'
1044
+
- $ref: '#/components/parameters/official'
1045
+
- $ref: '#/components/parameters/sort'
1046
+
- $ref: '#/components/parameters/desc'
1047
+
- $ref: '#/components/parameters/user_id'
1048
+
post:
1049
+
summary: Create a new Tag
1050
+
responses:
1051
+
'200':
1052
+
description: OK
1053
+
content:
1054
+
application/json:
1055
+
schema:
1056
+
$ref: '#/components/schemas/tag-return'
1057
+
requestBody:
1058
+
content:
1059
+
application/json:
1060
+
schema:
1061
+
$ref: '#/components/schemas/tag'
1062
+
security:
1063
+
- JSON-Web-Token: []
1064
+
tags:
1065
+
- tags
1066
+
- post
1067
+
- compose
1068
+
'/tags/{id}':
1069
+
parameters:
1070
+
- schema:
1071
+
type: string
1072
+
name: id
1073
+
in: path
1074
+
required: true
1075
+
get:
1076
+
summary: Get information about a Tag
1077
+
tags:
1078
+
- tags
1079
+
- get
1080
+
- compose
1081
+
responses:
1082
+
'200':
1083
+
description: OK
1084
+
content:
1085
+
application/json:
1086
+
schema:
1087
+
$ref: '#/components/schemas/tag-return'
1018
1088
/studyset-references:
1019
1089
get:
1020
1090
summary: Your GET endpoint
@@ -1175,6 +1245,17 @@ components:
1175
1245
type: string
1176
1246
description: Long form description of the meta-analysis.
1177
1247
nullable: true
1248
+
tags:
1249
+
description: Tags associated with this meta-analysis (use tag names or tag IDs).
1250
+
oneOf:
1251
+
- minItems: 1
1252
+
items:
1253
+
$ref: '#/components/schemas/tag'
1254
+
type: array
1255
+
- items:
1256
+
type: string
1257
+
description: Tag name or tag ID
1258
+
type: array
1178
1259
cached_studyset_id:
1179
1260
type: string
1180
1261
description: The id of the studyset on neurosynth-compose (as opposed to the id of the studyset on neurostore). Multiple snapshots of the studyset can be stored on neurosynth-compose so knowing which snapshot is being referenced is necessary.
@@ -1732,6 +1813,47 @@ components:
1732
1813
$ref: '#/components/schemas/metadata'
1733
1814
x-tags:
1734
1815
- neurovault
1816
+
tag:
1817
+
title: tag
1818
+
type: object
1819
+
x-tags:
1820
+
- tags
1821
+
description: A user-scoped or global label that can be attached to multiple resources. Tag groups are free-form categories (e.g., "visibility", "topic") used to segment tags across different resource types.
1822
+
required:
1823
+
- name
1824
+
properties:
1825
+
name:
1826
+
type: string
1827
+
description: Case-insensitive unique name within the tag scope (user or global).
1828
+
group:
1829
+
type: string
1830
+
nullable: true
1831
+
description: Optional grouping key to categorize tags (case-insensitive exact match in queries).
0 commit comments