Newer Version Available

This content describes an older version of this product. View Latest

Get a Repository

This example calls getRepository(repositoryId) to get a repository.
1final string repositoryId = '0XCxx0000000123GAA';
2final ConnectApi.ContentHubRepository repository = ConnectApi.ContentHub.getRepository(repositoryId);