fix: 🐛 Some entities can have a null author, but not all

This commit is contained in:
Jesse Wierzbinski 2024-11-02 16:06:53 +01:00
parent 8794d00853
commit a04f201784
No known key found for this signature in database

View file

@ -9,7 +9,9 @@ Contains metadata about a Versia instance, such as capabilities and endpoints. {
## The `null` Author
On all entities that have an `author` field, the `author` can be `null` to represent the instance itself as the author (like ActivityPub's Server Actors). In this case, the instance's public key should be used to verify the entity. To know which instance's public key to use, the entity signature should be used.
On some entities that have an `author` field, the `author` can be `null` to represent the instance itself as the author (like ActivityPub's Server Actors). In this case, the instance's public key should be used to verify the entity. To know which instance's public key to use, the entity signature should be used.
Check the entity's documentation page to see if it supports this (it will be noted in the `author` field).
## Entity Definition