debian-mirror-gitlab/spec/fixtures/api/schemas/protected_branch.json

34 lines
581 B
JSON
Raw Normal View History

2023-01-13 00:05:48 +05:30
{
"type": "object",
"required": [
"id",
"name",
"push_access_levels",
"merge_access_levels",
"allow_force_push"
],
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"push_access_levels": {
"type": "array",
"items": {
"$ref": "entities/protected_ref_access.json"
}
},
"merge_access_levels": {
"type": "array",
"items": {
"$ref": "entities/protected_ref_access.json"
}
},
"allow_force_push": {
"type": "boolean"
}
}
}