debian-mirror-gitlab/spec/fixtures/api/schemas/public_api/v4/branch.json

24 lines
563 B
JSON
Raw Normal View History

2017-09-10 17:25:29 +05:30
{
"type": "object",
"required" : [
"name",
"commit",
"merged",
"protected",
2018-11-20 20:47:30 +05:30
"default",
2017-09-10 17:25:29 +05:30
"developers_can_push",
"developers_can_merge"
],
"properties" : {
"name": { "type": "string" },
"commit": { "$ref": "commit/basic.json" },
"merged": { "type": "boolean" },
"protected": { "type": "boolean" },
2018-11-20 20:47:30 +05:30
"default": { "type": "boolean" },
2017-09-10 17:25:29 +05:30
"developers_can_push": { "type": "boolean" },
2018-11-08 19:23:39 +05:30
"developers_can_merge": { "type": "boolean" },
"can_push": { "type": "boolean" }
2017-09-10 17:25:29 +05:30
},
"additionalProperties": false
}