Returns all database views in the instance with information about the table, database and workspace they belong to, if the requesting user is staff. This can for example be used to find and intervene with publicly shared views that are being abused.
Request
- Base URLhttps://api.baserow.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.baserow.io/api/database/admin/views/
- AuthHTTP bearer
Query parameters
A comma-separated list of views IDs to filter by. When provided, only views with those IDs are returned.
If set to true, only publicly shared views are returned.
Defines which page should be returned.
If provided, only views matching it exactly by slug, by the email address of their owner, or by the id of the view, its table, its database, its workspace or its owner are returned. Names are not searched.
Defines how many views should be returned per page.
A comma separated string of attributes to sort by, each attribute must be prefixed with + for a descending sort or a - for an ascending sort. The accepted attribute names are: id, name, type, database_name, workspace_name, public, owned_by_username, created_on. For example sorts=-id,-name will sort the views first by descending id and then ascending name. A sortparameter with multiple instances of the same sort attribute will respond with the ERROR_INVALID_SORT_ATTRIBUTE error.
If provided, only views in the workspace with this id are returned.
Response
Changes
- info
the endpoint scheme security
UserSource JWTwas removed from the API
- info
- info
added the new optional
queryrequest parameterworkspace_id
- info