summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/remote_mirror.json
blob: 416b0f080d9124622c2b15ae44953c62c70de2f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  "type": "object",
  "required": [
    "id",
    "enabled",
    "url",
    "update_status",
    "last_update_at",
    "last_update_started_at",
    "last_successful_update_at",
    "last_error",
    "only_protected_branches"
    ],
  "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"] },
    "only_protected_branches": { "type": "boolean" }
  },
  "additionalProperties": false
}