724f19ba0a
This is resolving https://gitlab.com/gitlab-org/gitlab-ce/issues/30157. Implement new API endpoint `/projects/:id/environments/:environment_id` to expose single environment. Include information for environment's last deployment if there is one.
24 lines
524 B
JSON
24 lines
524 B
JSON
{
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"description",
|
|
"ip_address",
|
|
"active",
|
|
"is_shared",
|
|
"name",
|
|
"online",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"id": { "type": "integer" },
|
|
"description": { "type": "string" },
|
|
"ip_address": { "type": "string" },
|
|
"active": { "type": "boolean" },
|
|
"is_shared": { "type": "boolean" },
|
|
"name": { "type": ["null", "string"] },
|
|
"online": { "type": "boolean" },
|
|
"status": { "type": "string" }
|
|
},
|
|
"additionalProperties": false
|
|
}
|