All Versions
Crucible 4.2 DocumentationCrucible 4.1 Documentation
Crucible 4.0 Documentation
More...
Provides information about the repositories configured in a Crucible instance.
Method: GET
URL:
/repositories-v1
Description:
Get a list of all the repositories.
Status Code:
200 (OK) on success.
Example XML:
<repositories>
<repoData>
<enabled>true</enabled>
<name>local</name>
<type>svn</type>
</repoData>
<repoData>
<enabled>true</enabled>
<name>test</name>
<type>cvs</type>
</repoData>
</repositories>
Example JSON:
{"repositories": {
"repoData": [
{"@type":"svnRepositoryData",
"enabled":true,
"name":"Local",
"type":"svn",
"path":"",
"url":"file:\/\/\/Users\/erik\/var\/repo"},
{"@type":"svnRepositoryData",
"enabled":true,
"name":"Local2",
"type":"svn",
"path":"",
"url":"file:\/\/\/Users\/erik\/var\/repo"}]
}}
Method: GET
URL:
/repositories-v1/<repositoryName>
Description:
Returns the repository of which the name attribute equals repositoryName.
Status Code:
200 (OK) on success
Example XML:
<svnRepositoryData> <enabled>true</enabled> <name>local</name> <type>svn</type> <path></path> <url>file:///Users/tomd/dev/svn/</url> </svnRepositoryData>
Example JSON:
{"svnRepositoryData": {
"enabled":true,
"name":"Local",
"type":"svn",
"path":"",
"url":"file:\/\/\/Users\/ervzijst\/var\/repo"
}}