This page last changed on Aug 13, 2009 by sruiz.

The repositories service provides information about the repositories configured in a FishEye instance.

On this page:

List All Repositories

Description: Returns a list of all repositories in the current FishEye instance that the current user has permission to see. The information is formatted in the Repository List Data Type.
Parameters: None
Method: GET
Status Code: 200
URL:

/rest-service-fe/repositories-v1

URL Example:

http://localhost:6060/foo/rest-service-fe/repositories-v1

Example XML:

<repositoryList>
<repository repositoryState="RUNNING" name="MyRepository" enabled="true"/>
<repository repositoryState="RUNNING" name="MyRepository2" enabled="true"/>
</repositoryList>

Example JSON:

{"repository":[
{"@repositoryState":"RUNNING",
"@name":"cvs",
"@enabled":"true"},
{"@repositoryState":"RUNNING",
"@name":"cvs2",
"@enabled":"true"}]}

Get Details For a Repository

Description: Returns basic information about a specified repository. The information is formatted in the Repository Data Type.
Parameters: The name of your repository as specified in FishEye (denoted as 'RepositoryName' in the example below).
Method: GET
Status Code: 200
URL:

rest-service-fe/repositories-v1/RepositoryName

URL Example:

http://localhost:6060/foo/rest-service-fe/repositories-v1/MyRepository

Example XML:

<repository repositoryState="RUNNING" name="MyRepository" enabled="true"/>

Example JSON:

{"@repositoryState":"RUNNING","@name":"MyRepository","@enabled":"true"}




Related Links:

Document generated by Confluence on Nov 11, 2009 21:21