---
schema_version: "1"
id: 7779e571c44799fa41eb275f6dcfa09c14141feefd374952b1118299723a3d4c
title: ConnectApi.ContentHubRepository
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_content_hub_repository.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_content_hub_repository.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3e67f0d600b551a1f07e87d40a05166e054252312a6e36a05e36934c58396299
description: A repository.
---
# ConnectApi.ContentHubRepository

A repository.

Subclass of [ConnectApi.ActorWithId](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_actorWithIdOutput.htm "Actor with ID.").

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| authentication | [ConnectApi.ContentHubRepositoryAuthentication](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_content_hub_repository_authentication.htm "Authentication information for a repository.") | Repository authentication information. | 40.0 |
| features | [ConnectApi.​ContentHub​RepositoryFeatures](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_content_hub_repository_features.htm#apex_connectapi_output_content_hub_repository_features "The features of a repository.") | Repository features. | 39.0 |
| label | String | Repository label. | 39.0 |
| name | String | Repository name. | 39.0 |
| providerType | [ConnectApi.​ContentHub​ProviderType](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_content_hub_provider_type.htm#apex_connectapi_output_content_hub_provider_type "The type of repository.") | Repository provider type. | 39.0 |
| rootFolderItemsUrl | String | URL to the list of items in the repository root folder. | 39.0 |

#### See Also

- [ConnectApi.ContentHubRepositoryCollection](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_content_hub_repository_collection.htm "A collection of repositories.")