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
* feat: update swagger
* fix: fix format
* feat: optimize params
* fix: add missing graphQL singleton update
* Fix path for OAuth endpoint in index.yaml
* Update 'data' type in oauth.yaml from array to object
Changed 'data' type from array to object with properties for name, label, driver, and icon.
* Add code samples to oauthProvider.yaml
Added details explaining that oath is not available in Directus SDK and GraphQL. Fixes#42
This should also enable the REST endpoint to display.
* Rename OAuth endpoint to login in index.yaml
* fix: request body in utils
Resolves#16
Add `type: object` to schema for:
- Export Data to a File
- Generate a Hash
- Verify a Hash
- Manually Sort Items in Collection
* docs: remove punctuation from summary
utils/hash/generate and utils/hash/verify contained a `.` at the end of
summary which is inconsistent with the rest of the project.
* feat: add `/access` to API reference
Adds Schema reference as well as the applicable CRUD options.
NOTE: I opted to clarify in filenames that they reference accessRules
rather than trying to figure out how to pluralize accesses in a way that
makes sense.
Fixes#40
* fix(deployments): add deployments
wip
* fix(files): add assets and files
* fix(extensions): add support for extensions (release tag v10.10.0)
TODO: the SDK examples need to be revisited after the following issues
are resolved in the monorepo
directus/directus#27310directus/directus#27311directus/directus#27312
* fix(utils): add revert and translations
Revert has been around a while, looks like it was just missed in
previous spec.
Translations was added in v.11.17.x
* fix(schema): add `force` parameter
An enhancement to #61 commit 2ac6094 :
- Add more details to explain conditions that bypass might be necessary
- Version updated, force is introduced in
8c4df17bb6463d0678bff985c161d1376b980325 but there's not a tagged
release. 11.17.3 is at least closest active release right now.
* fix(settings): add ai_ and mcp_ properties
Fixes#65
* fix(ai): add ai endpoint
* feat(mcp): add mcp endpoint
* fix(auth): format graphql code-sample to match standards in project
* Merge origin/pr-26006 (zip download endpoints)
Resolved conflicts by keeping POST method and application/zip responses
(matching API implementation) over pr-26006's incorrect GET variants.
Also fixed duplicate YAML key in oauth.yaml introduced by prior merge.
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
* Apply suggestion from @kheiner
respecting 73b9821 intent
* fix(items): separate mutiple, singular, and singeton operations into distinct entries
- restore singleton as it's own path with PATCH and GET only => I had to
double up the ghost RTL character to make that happen (see #64)
- fix request body schemas for updateItems and deleteItems (keys and
query forms)
- fix title casing
* standardize example url to directus_project_url
* fix(schemas): add missing type field to nullable access schema properties
* fix(utils): add 4xx responses
create ignore file for redocly to supress warnings regarding ping and
health
* fix(health): updated response to explain auth vs no-auth
May change as a result of
directus/directus#27160
* formatting
* Update openapi/index.yaml
* Update openapi/index.yaml
Co-authored-by: kheiner <heiner@heiner.work>
---------
Co-authored-by: Gaetan SENN <gaetan.senn@gmail.com>
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Copy file name to clipboardExpand all lines: openapi/components/parameters.yaml
+139-3Lines changed: 139 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -103,8 +103,7 @@ Export:
103
103
- yaml
104
104
Version:
105
105
name: version
106
-
description: >-
107
-
Retrieve an item's state from a specific Content Version. The value corresponds to the "key" of the Content Version.
106
+
description: Retrieve an item's state from a specific Content Version. The value corresponds to the "key" of the Content Version.
108
107
in: query
109
108
required: false
110
109
schema:
@@ -118,11 +117,148 @@ ConcurrentIndexCreation:
118
117
type: boolean
119
118
default: false
120
119
Backlink:
121
-
name: backlink
122
120
description: >-
123
121
Retrieve relational items excluding reverse relations when using wildcard fields.
122
+
name: backlink
124
123
in: query
125
124
required: false
126
125
schema:
127
126
type: boolean
128
127
default: true
128
+
Aggregate:
129
+
description: >-
130
+
Aggregate functions allow you to perform calculations on a set of values. Accepts one or more of `count`, `countDistinct`, `countAll`, `sum`, `sumDistinct`, `avg`, `avgDistinct`, `min`, `max`.
131
+
name: aggregate
132
+
in: query
133
+
required: false
134
+
content:
135
+
application/json:
136
+
schema:
137
+
type: object
138
+
properties:
139
+
count:
140
+
type: array
141
+
items:
142
+
type: string
143
+
description: Count the number of items. Use `['*']` to count all items.
144
+
countDistinct:
145
+
type: array
146
+
items:
147
+
type: string
148
+
description: Count the number of unique values in the specified fields.
149
+
countAll:
150
+
type: array
151
+
items:
152
+
type: string
153
+
description: Count all items including related items (used with groupBy).
154
+
sum:
155
+
type: array
156
+
items:
157
+
type: string
158
+
description: Sum the values of the specified fields.
159
+
sumDistinct:
160
+
type: array
161
+
items:
162
+
type: string
163
+
description: Sum the unique values of the specified fields.
164
+
avg:
165
+
type: array
166
+
items:
167
+
type: string
168
+
description: Calculate the average of the specified fields.
169
+
avgDistinct:
170
+
type: array
171
+
items:
172
+
type: string
173
+
description: Calculate the average of unique values in the specified fields.
174
+
min:
175
+
type: array
176
+
items:
177
+
type: string
178
+
description: Find the minimum value of the specified fields.
179
+
max:
180
+
type: array
181
+
items:
182
+
type: string
183
+
description: Find the maximum value of the specified fields.
184
+
example:
185
+
count: ['*']
186
+
sum: ['price']
187
+
avg: ['rating']
188
+
Deep:
189
+
description: Deep allows you to set any of the other query parameters on a nested relational dataset. Use underscore-prefixed parameter names.
190
+
name: deep
191
+
in: query
192
+
required: false
193
+
content:
194
+
application/json:
195
+
schema:
196
+
type: object
197
+
additionalProperties:
198
+
type: object
199
+
description: Query parameters for the related field (prefixed with underscore).
200
+
properties:
201
+
_fields:
202
+
type: array
203
+
items:
204
+
type: string
205
+
_sort:
206
+
type: array
207
+
items:
208
+
type: string
209
+
_filter:
210
+
type: object
211
+
_limit:
212
+
type: integer
213
+
_offset:
214
+
type: integer
215
+
_page:
216
+
type: integer
217
+
_search:
218
+
type: string
219
+
_group:
220
+
type: array
221
+
items:
222
+
type: string
223
+
_aggregate:
224
+
type: object
225
+
example:
226
+
related_articles:
227
+
_limit: 3
228
+
_sort: ['-date_created']
229
+
_filter:
230
+
status:
231
+
_eq: 'published'
232
+
Alias:
233
+
description: Alias allows you to rename fields in the response payload. The key is the new name, the value is the original field name.
234
+
name: alias
235
+
in: query
236
+
required: false
237
+
content:
238
+
application/json:
239
+
schema:
240
+
type: object
241
+
additionalProperties:
242
+
type: string
243
+
example:
244
+
display_name: full_name
245
+
creation_date: date_created
246
+
Group:
247
+
description: >-
248
+
Grouping allows for running the aggregation functions based on a shared value. Accepts an array of field names.
249
+
name: group
250
+
in: query
251
+
required: false
252
+
explode: false
253
+
schema:
254
+
type: array
255
+
items:
256
+
type: string
257
+
VersionRaw:
258
+
description: Retrieve the raw delta of a Content Version item instead of the full merged item.
0 commit comments