Remote Repository Resource¶
Added in 2.5
Returns information on remote repositories on a hosting service.
This can be used to look up the information needed to connect to a remote repository or to add a repository to Review Board. Only remote repositories that are accessible to the linked hosting service account (i.e., that of the parent resource) will be provided by this resource.
|Token Policy ID||
|Parent Resource||Remote Repository List Resource|
|Anonymous Access||Yes, if anonymous site access is enabled|
|idString||The unique ID for this repository on the hosting service.|
|mirror_pathString||A secondary path that can be used to reach the repository.|
|nameString||The name of the repository.|
|ownerString||The owner of the repository, which may be a user account or an organization, depending on the service.|
|pathString||The repository path as recommended by the hosting service.|
|scm_typeString||The type of repository, mapping to registered SCMTools on Review Board.|
Provides information on a particular remote repository.
If the remote repository exists and is accessible by the linked hosting service account (that of the parent resource), then the details of that repository will be returned in the payload.
The ID expected for the lookup in the URL is specific to the type of hosting service.