mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Merge branch 'main' into aggregation
This commit is contained in:
@@ -65,7 +65,7 @@ example.com/assets/1ac73658-8b62-4dea-b6da-529fbc9d01a4?fit=cover&width=200&heig
|
||||
```
|
||||
|
||||
For even more advanced control over the file generation, Directus exposes
|
||||
[the full `sharp` API](https://sharp.pixelplumbing.com/api-operation) through the `transform` query parameter. This
|
||||
[the full `sharp` API](https://sharp.pixelplumbing.com/api-operation) through the `transforms` query parameter. This
|
||||
parameter accepts a two-dimensional array with the format `[Operation, ...arguments]`, for example:
|
||||
|
||||
```
|
||||
|
||||
@@ -50,9 +50,6 @@ Additional default values for the role.
|
||||
`fields` **array**\
|
||||
What fields the user is allowed to alter.
|
||||
|
||||
`limit` **integer**\
|
||||
How many items the user is able to alter at once in batch operations.
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
@@ -72,8 +69,7 @@ How many items the user is able to alter at once in batch operations.
|
||||
"presets": {
|
||||
"published": false
|
||||
},
|
||||
"fields": ["title", "translations"],
|
||||
"limit": null
|
||||
"fields": ["title", "translations"]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -190,8 +186,7 @@ GET /permissions/:id
|
||||
"presets": {
|
||||
"published": false
|
||||
},
|
||||
"fields": ["title", "translations"],
|
||||
"limit": null
|
||||
"fields": ["title", "translations"]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user