gitlab-org--gitlab-foss/spec/fixtures/api/schemas/protected_branch.json

33 lines
581 B
JSON

{
"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"
}
}
}