debian-mirror-gitlab/spec/fixtures/api/schemas/registry/repository.json

42 lines
766 B
JSON
Raw Normal View History

2018-03-17 18:26:18 +05:30
{
"type": "object",
2020-06-23 00:09:42 +05:30
"required": ["id", "name", "path", "location", "created_at"],
"properties": {
2018-03-17 18:26:18 +05:30
"id": {
"type": "integer"
},
2019-03-02 22:35:43 +05:30
"name": {
"type": "string"
},
2018-03-17 18:26:18 +05:30
"path": {
"type": "string"
},
2019-10-12 21:52:04 +05:30
"project_id": {
"type": "integer"
},
2018-03-17 18:26:18 +05:30
"location": {
"type": "string"
},
2019-03-02 22:35:43 +05:30
"created_at": {
"type": "date-time"
},
2018-03-17 18:26:18 +05:30
"tags_path": {
"type": "string"
},
"destroy_path": {
"type": "string"
2019-10-12 21:52:04 +05:30
},
2020-04-22 19:07:51 +05:30
"status": {
"oneOf": [
{ "type": "null" },
{ "type": "string", "enum": ["delete_scheduled", "delete_failed"] }
]
},
2020-06-23 00:09:42 +05:30
"tags": { "$ref": "tags.json" },
"tags_count": {
"type": "integer"
}
2018-03-17 18:26:18 +05:30
},
"additionalProperties": false
}