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

28 lines
781 B
JSON
Raw Normal View History

2020-01-01 13:55:28 +05:30
{
"type": "object",
"required": [
"id",
"enabled",
"url",
"update_status",
"last_update_at",
"last_update_started_at",
"last_successful_update_at",
"last_error",
"only_protected_branches"
2020-04-08 14:13:33 +05:30
],
2020-01-01 13:55:28 +05:30
"properties": {
"id": { "type": "integer" },
"enabled": { "type": "boolean" },
"url": { "type": "string" },
"update_status": { "type": "string" },
"last_update_at": { "type": ["string", "null"] },
"last_update_started_at": { "type": ["string", "null"] },
"last_successful_update_at": { "type": ["string", "null"] },
"last_error": { "type": ["string", "null"] },
2020-04-08 14:13:33 +05:30
"only_protected_branches": { "type": "boolean" },
"keep_divergent_refs": { "type": ["boolean", "null"] }
2020-01-01 13:55:28 +05:30
},
"additionalProperties": false
}