Fetches vistas for a project.
If called from scratchpad or if the user does not have permission to access the project.
Optional
The project ID. Defaults to the active project if not provided.
A promise that resolves with the project's vistas data.
Fetches vistas for a project.
Throws
If called from scratchpad or if the user does not have permission to access the project.