mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-08 15:28:20 +01:00
docs: 📝 Clarify that Collections should be signed
This commit is contained in:
parent
80685555b2
commit
df6ba8a59d
|
|
@ -9,6 +9,10 @@ Collections are a way to represent paginated groups of entities. They are used e
|
||||||
|
|
||||||
Pages should be limited to a reasonable number of entities, such as 20 or 80.
|
Pages should be limited to a reasonable number of entities, such as 20 or 80.
|
||||||
|
|
||||||
|
<Note>
|
||||||
|
As Collections are independent and not part of a larger entity (like [ContentFormat](/structures/content-format)), they should have a valid [Signature](/signatures).
|
||||||
|
</Note>
|
||||||
|
|
||||||
## Entity Definition
|
## Entity Definition
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
|
|
@ -36,6 +40,7 @@ Pages should be limited to a reasonable number of entities, such as 20 or 80.
|
||||||
<Property name="prev" type="URI" required={false} typeLink="/types#uri">
|
<Property name="prev" type="URI" required={false} typeLink="/types#uri">
|
||||||
URI to the previous page of the collection. Query parameters are allowed.
|
URI to the previous page of the collection. Query parameters are allowed.
|
||||||
|
|
||||||
|
|
||||||
If there is no previous page, this should be `null`.
|
If there is no previous page, this should be `null`.
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="items" type="Entity[]" required={true}>
|
<Property name="items" type="Entity[]" required={true}>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue