-
- Downloads
Add new API endpoint to expose single environment
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.
Showing
- changelogs/unreleased/30157-api-expose-single-environment.yml 5 additions, 0 deletions...gelogs/unreleased/30157-api-expose-single-environment.yml
- doc/api/environments.md 105 additions, 0 deletionsdoc/api/environments.md
- lib/api/entities.rb 5 additions, 4 deletionslib/api/entities.rb
- lib/api/environments.rb 15 additions, 0 deletionslib/api/environments.rb
- spec/fixtures/api/schemas/public_api/v4/artifact.json 16 additions, 0 deletionsspec/fixtures/api/schemas/public_api/v4/artifact.json
- spec/fixtures/api/schemas/public_api/v4/artifact_file.json 12 additions, 0 deletionsspec/fixtures/api/schemas/public_api/v4/artifact_file.json
- spec/fixtures/api/schemas/public_api/v4/deployment.json 32 additions, 0 deletionsspec/fixtures/api/schemas/public_api/v4/deployment.json
- spec/fixtures/api/schemas/public_api/v4/environment.json 23 additions, 0 deletionsspec/fixtures/api/schemas/public_api/v4/environment.json
- spec/fixtures/api/schemas/public_api/v4/job.json 63 additions, 0 deletionsspec/fixtures/api/schemas/public_api/v4/job.json
- spec/fixtures/api/schemas/public_api/v4/runner.json 24 additions, 0 deletionsspec/fixtures/api/schemas/public_api/v4/runner.json
- spec/requests/api/environments_spec.rb 22 additions, 0 deletionsspec/requests/api/environments_spec.rb
Please register or sign in to comment