Concepts
The following query will return all the asset repositories that the logged in user or API client has access to:
The viewerLink copied!
viewer is the top level query in the nested connections graph and returns an object of type User, which describes the logged user or API client.
Media HubsLink copied!
A Media Hub (MediaHub) is the space within which assets are produced and published.
MediaHubs can contain multiple asset repositories.
Asset RepositoriesLink copied!
An Asset Repository (assetRepository) is a collection of assets.
Asset repositories are organised within a hub and each has associated permissions. This makes it possible to specify who can view, create and edit assets in a particular repository.