Get a Repository

Call a method to get a repository.

Call getRepository(repositoryId) to get a repository.

1final string repositoryId = '0XCxx0000000123GAA';
2final ConnectApi.ContentHubRepository repository = ConnectApi.ContentHub.getRepository(repositoryId);

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!