Okapi Okapi

LaunchDarkly API POST /api/v2/projects/{id}/environments/{id}/experiments/{id}/iterations endpoint removal

Deprecated, no dateSubscribe to LaunchDarkly APIShare

The POST /api/v2/projects/{id}/environments/{id}/experiments/{id}/iterations endpoint has been deprecated without a shutdown date. LaunchDarkly API states that this endpoint will be removed in a future version. Calls made to this route after its eventual removal will fail.


Calls it hits

  • POST /api/v2/projects/{id}/environments/{id}/experiments/{id}/iterations

What to use instead of these calls

Use PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey} instead, supplying the updateExperimentFields and saveAndStartNewIteration instructions.

In LaunchDarkly API's words

This endpoint will be removed in a future version. Use the `updateExperimentFields` and `saveAndStartNewIteration` instructions on [Update experiment](https://launchdarkly.com/docs/api/experiments/patch-experiment) instead.

LaunchDarkly API, Announcement

Facts

API
LaunchDarkly API app.launchdarkly.com
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against LaunchDarkly API's own pages

Questions

When does this change take effect?

LaunchDarkly API deprecated POST /api/v2/projects/{id}/environments/{id}/experiments/{id}/iterations without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: LaunchDarkly API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to LaunchDarkly API

Hear about each breaking change LaunchDarkly API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • LaunchDarkly API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.