Files
directus/docs/reference/api/query/single.md
Rijk van Zanten 5450de0351 Update Docs (#3905)
* Allow formatted value display for numbers

* Move the docs website into monorepo

* Fix build

* Tweak docs build setup

* Fix tips, pull in images

* Add syntax highlighting to docs

* Restructure nav, add divider

* Fix tips formatting

* Add prettier config

* Add editorconfig
2021-02-02 11:55:04 -05:00

20 lines
296 B
Markdown

# Single
Using `single` the first element will be returned.
::: tip NOTE
Instead of returning a list, the result data will be a single object representing the first item.
:::
## Examples
```
# Returns the first item of the result set
?single=1
?filter[author][first_name]=Rijk
&single
```