How to update the avatar with a URL to an image?
Avatars is the same file collection as the files, so check the Files guide. You can find a nice discussion in our community 🙂How to update the Icon Field?
The Icon Field is exposed asicon/icon. Update it with fibery.entity/update like any other primitive Field. The value is the icon name wrapped in colons — :smile:, :heart:, :rocket:. Browse the available icons in the Unicons set.
How to work with the Lookup Field?
A Lookup Field is basically the same as a Formula field. Feel free to share your use case in the community.How to work with Document View?
This API is still undocumented. However, to work with Document View content using ordinary or api documents, you need only the document secret. To obtain that secret for a document view with public id “45” one may query views api as described in the Views guide."fibery/meta" property with "documentSecret" in it. With this UUID you may do whatever you need with document content via standard documents API.
How can I check who has which permissions (capabilities) for a specific database?
You can use thefibery.type/query-capability-sources API command.It returns all users who have access to a given database (type) and explains how each user obtained their permissions.
Basic API Call
Optional: Explicitly Limit to Active Users
ℹ️ Note: active-users? is optional — active users are returned by default.