Remote Repository List 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||Hosting Service Account Resource|
|Anonymous Access||Yes, if anonymous site access is enabled|
Returns the list of remote repositories on the hosting service.
Different hosting service backends have different criteria for
performing the lookups. Some hosting services have multiple types of
owners, specified by passing
owner-type. Filtering may also be
possible by passing
filter-type. Performing lookups requires
knowing the possible values for the service ahead of time and passing
the proper parameters in the query string.
Pagination works a bit differently for this resource than most.
?start= taking an index into the number of results,
?start= takes a 0-based index of the page of
?counts-only= are not supported, as they’re
not compatible with all hosting services.
Callers should always use the
prev links for
navigation, and should not build page indexes themselves.
|filter-typeString||Filters the list of results. Allowed values are dependent on the hosting service. Unexpected values will be ignored.|
|ownerString||The owner (user account or organization) to look up repositories for. Defaults to the owner of the hosting service account.|
|owner-typeString||Indicates what sort of account the owner represents. This may be required by some services, and the values are dependent on that service.|
|startInteger||The 0-based index of the first page of results to fetch.|