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.
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 with id or name or slug or table__id or table__name or table__database__id or table__database__name or table__database__workspace__id or table__database__workspace__name or owned_by__id or owned_by__username that match the query will be returned.
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.