File tree 2 files changed +12
-3
lines changed
paths/relations/_collection
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,8 @@ paths:
131
131
$ref : paths/presets/_id/index.yaml
132
132
" /relations " :
133
133
$ref : paths/relations/index.yaml
134
+ " /relations/{collection} " :
135
+ $ref : paths/relations/_collection/index.yaml
134
136
" /relations/{id} " :
135
137
$ref : paths/relations/_id/index.yaml
136
138
" /revisions " :
Original file line number Diff line number Diff line change 1
1
summary : List relations in collection
2
2
description : List all relations that exist in a given collection.
3
3
operationId : getRelationByCollection
4
+ parameters :
5
+ - description : Unique identifier of the collection the relations reside in.
6
+ in : path
7
+ name : collection
8
+ required : true
9
+ schema :
10
+ type : string
4
11
responses :
5
12
' 200 ' :
6
13
description : Successful request
@@ -12,11 +19,11 @@ responses:
12
19
data :
13
20
type : array
14
21
items :
15
- $ref : ../../components/schemas/Relations.yaml
22
+ $ref : ../../../ components/schemas/Relations.yaml
16
23
' 401 ' :
17
- $ref : ../../components/responses.yaml#/UnauthorizedError
24
+ $ref : ../../../ components/responses.yaml#/UnauthorizedError
18
25
' 404 ' :
19
- $ref : ../../components/responses.yaml#/NotFoundError
26
+ $ref : ../../../ components/responses.yaml#/NotFoundError
20
27
security : []
21
28
tags :
22
29
- Relations
You can’t perform that action at this time.
0 commit comments