Okapi Okapi

GitLab API · Endpoint removal

environment_tier on GET /api/v4/projects/{}/dora/metrics stops working

Stopped working

Calls to GET /api/v4/projects/{}/dora/metrics, query parameter environment_tier on GitLab API stopped working on May 22, 2023.

What to use instead of these calls

Send environment_tiers (an array) instead of environment_tier.

Calls it hits

  • GET /api/v4/projects/{}/dora/metrics
  • query parameter environment_tier

To avoid confusion and duplication, the `environment_tier` parameter is deprecated in favor of the `environment_tiers` parameter.

GitLab API, Announcement

Facts

API
GitLab API gitlab.com
Kind
Endpoint removal
Announced
January 22, 2023
Takes effect
May 22, 2023
Calls after that day
Fail
Source
Announcement
Last updated

More from GitLab API

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub