Repository.get_branch

This commit is contained in:
Vincent Jacques
2012-09-08 14:08:20 +02:00
parent 03058a3616
commit 1713d3fb0b
7 changed files with 76 additions and 11 deletions
@@ -1466,7 +1466,10 @@
"name": "branches",
"singularName": "branch",
"type": "Branch",
"getList": true
"getList": true,
"getElement": {
"parameter": { "name": "branch", "type": "string" }
}
},
{
"name": "collaborators",
@@ -8397,6 +8397,52 @@
"name": "void"
}
},
{
"group": "branches",
"name": [
"get",
"branch"
],
"mandatoryParameters": [
{
"type": {
"simple": true,
"cardinality": "scalar",
"name": "string"
},
"name": "branch"
}
],
"request": {
"url": [
{
"type": "attribute",
"value": [
"url"
]
},
{
"type": "constant",
"value": "/branches/"
},
{
"type": "argument",
"value": [
"branch"
]
}
],
"information": "data",
"verb": "GET"
},
"isMutation": false,
"optionalParameters": [],
"type": {
"simple": false,
"cardinality": "scalar",
"name": "Branch"
}
},
{
"group": "branches",
"name": [