docs: 📝 Clarify that Collections should be signed

This commit is contained in:
Jesse Wierzbinski 2024-08-06 14:22:17 +02:00
parent 80685555b2
commit df6ba8a59d
No known key found for this signature in database

View file

@ -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}>