docs: a bit better
This commit is contained in:
parent
6e845238bb
commit
1799cadcbd
@ -27,12 +27,12 @@ To implement an Admin Repository, you can look at the empty_repository example.
|
||||
the AdminRepository trait requires you to implement:
|
||||
|
||||
- an associated type Key, that implements PrimaryKeyType
|
||||
- key_from_string, which transforms a String into your Key
|
||||
- info, which produces an instance of RepositoryInformation for the Registry
|
||||
- list, listing entries of your repository, with optional pagination
|
||||
- create, creating a new entry into your repository (data is json serialized)
|
||||
- get, getting a single entry of your repository
|
||||
- update, updating an entry in your repository partially (patch)
|
||||
- replace, updating an entry in your repository (put)
|
||||
- delete, deleting a single entry in your repository
|
||||
- *key_from_string*, which transforms a String into your Key
|
||||
- *info* for the Registry (producing an instance of RepositoryInformation)
|
||||
- *list* your repository items, with optional pagination
|
||||
- *create* a new entry into your repository (data is json serialized)
|
||||
- *get* a single entry of your repository
|
||||
- *update* an entry in your repository partially (patch)
|
||||
- *replace* an entry in your repository (put)
|
||||
- *delete* a single entry in your repository
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user