summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/deploy_key.json
blob: 3dbdfcc95a1145ff05ac3872e0dfb027532fa772 (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
{
  "type": "object",
  "required": [
    "id",
    "title",
    "created_at",
    "expires_at",
    "key",
    "fingerprint",
    "projects_with_write_access"
  ],
  "properties": {
    "id": { "type": "integer" },
    "title": { "type": "string" },
    "created_at": { "type": "string", "format": "date-time" },
    "expires_at": { "type": ["string", "null"], "format": "date-time" },
    "key": { "type": "string" },
    "fingerprint": { "type": "string" },
    "projects_with_write_access": {
      "type": "array",
      "items": { "$ref": "project/identity.json" }
    }
  },
  "additionalProperties": false
}