summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/environment.json
blob: b90bfe8de551c11d8ab8596ac728355352a0d4d0 (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
{
  "type": "object",
  "required": [
    "id",
    "name",
    "slug",
    "external_url",
    "last_deployment"
  ],
  "properties": {
    "id": { "type": "integer" },
    "name": { "type": "string" },
    "slug": { "type": "string" },
    "external_url": { "$ref": "../../types/nullable_string.json" },
    "last_deployment": {
      "oneOf": [
        { "type": "null" },
        { "$ref": "deployment.json" }
      ]
    },
    "state": { "type": "string" },
    "enable_advanced_logs_querying": { "type": "boolean" },
    "logs_api_path": { "type": "string" },
    "gitlab_managed_apps_logs_path": { "type": "string" }
  },
  "additionalProperties": false
}