summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/environment.json
blob: 3a4c18343e3f6a716f4f64f842817ad7df5dacce (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
27
28
29
30
31
32
33
34
{
  "type": "object",
  "required": [
    "id",
    "name",
    "slug",
    "tier",
    "external_url",
    "state",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "id": { "type": "integer" },
    "name": { "type": "string" },
    "slug": { "type": "string" },
    "tier": { "type": "string" },
    "external_url": { "$ref": "../../types/nullable_string.json" },
    "last_deployment": {
      "oneOf": [
        { "type": "null" },
        { "$ref": "deployment.json" }
      ]
    },
    "state": { "type": "string" },
    "created_at": { "type": "string", "format": "date-time" },
    "updated_at": { "type": "string", "format": "date-time" },
    "project": { "$ref": "project.json" },
    "enable_advanced_logs_querying": { "type": "boolean" },
    "logs_api_path": { "type": "string" },
    "gitlab_managed_apps_logs_path": { "type": "string" }
  },
  "additionalProperties": false
}