Repositories¶
/api/repositories
Get¶
-
GET
/api/repositories
¶ Gets a list of the repositories on the server.
Response Code | Reason |
---|---|
200 | No error |
500 | Internal server error |
GET /api/repositories HTTP/1.1
Accept: application/json
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 286
Content-Type: application/json
Date: Wed, 22 Oct 2014 13:58:39 GMT
ETag: "1979389447"
X-Powered-By: Express
{
"columns": {
"columnisedName": "Repositories",
"description": "A list of all the repositories in the server",
"humanisedName": "Repositories"
},
"rows": [
{
"dataRow": "_control",
"metadata": {
"url": "/api/repositories/_control"
}
},
{
"dataRow": "jupiter",
"metadata": {
"url": "/api/repositories/jupiter"
}
}
]
}
The metadata in each row contains a URL pointing to the repository.