-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathparameters.yaml
110 lines (110 loc) · 2.47 KB
/
parameters.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
Id:
description: Identifier for the object.
name: id
in: path
required: true
schema:
type: integer
UUId:
description: Unique identifier for the object.
name: id
in: path
required: true
schema:
example: 8cbb43fe-4cdf-4991-8352-c461779cec02
type: string
Collection:
description: Collection of which you want to retrieve the items from.
name: collection
in: path
required: true
schema:
type: string
Search:
description: Filter by items that contain the given search query in one of their fields.
in: query
name: search
required: false
schema:
type: string
Page:
description: Cursor for use in pagination. Often used in combination with limit.
in: query
name: page
required: false
schema:
type: integer
Offset:
description: How many items to skip when fetching data.
in: query
name: offset
required: false
schema:
type: integer
Sort:
description: >-
How to sort the returned items. `sort` is a CSV of fields used to sort the fetched items. Sorting defaults to ascending (ASC) order but a minus sign (` - `) can be used to reverse this to descending (DESC) order. Fields are prioritized by their order in the CSV. You can also use a ` ? ` to sort randomly.
in: query
name: sort
required: false
explode: false
schema:
type: array
items:
type: string
Meta:
description: What metadata to return in the response.
in: query
name: meta
required: false
schema:
type: string
Limit:
description: A limit on the number of objects that are returned.
in: query
name: limit
required: false
schema:
type: integer
Filter:
description: Select items in collection by given conditions.
in: query
name: filter
required: false
content:
application/json:
schema:
type: object
example:
<field>:
<operator>: <value>
Fields:
description: Control what fields are being returned in the object.
in: query
name: fields
required: false
explode: false
schema:
type: array
items:
type: string
Export:
name: export
description: Saves the API response to a file. Accepts one of `csv`, `json`, `xml`, `yaml`.
in: query
required: false
schema:
type: string
enum:
- csv
- json
- xml
- yaml
Version:
name: version
description: >-
Retrieve an item's state from a specific Content Version. The value corresponds to the "key" of the Content Version.
in: query
required: false
schema:
type: string