Releases Beta
This feature is in beta
To use this feature, pass in a header including the
LD-API-Versionkey with value set tobeta. Use this header with each call. To learn more, read Beta resources.Resources that are in beta are still undergoing testing and development. They may change without notice, including becoming backwards incompatible.
Release pipelines standardize and automate the release process for feature flags across a series of phases, where each phase consists of one or more environments and audiences. When you add a flag to an existing release pipeline, you create a “release” to automate that flag’s progress through the pipeline.
Use the releases API to add a flag to an existing release pipeline, or to monitor or update an ongoing release for a flag. Updating an ongoing release generally involves the following steps:
-
Obtain the release phases associated with the release. The
phasesfield provides an ordered list of all pipeline phases associated with the flag’s release.phasesis returned in the response when you Create a new release for a flag or Get the release for a flag. -
Determine the
_idof the phase you want to start. Release pipeline phases take place in their configured order, so find the first incomplete, unstarted phase in thephaseslist. For example, in a newly-created release the first phase in thephaseslist has both thecompleteandstartedfields set tofalse. -
Use the phase
_idvalue with the Update phase status for release endpoint to start the release phase. At a minimum, you must provide{"status": active}in the request object to start a pipeline phase. If the phase requires approvals or guarded rollouts, provide the additional required information in theaudienceslist.
Configuring release pipelines
Use the related release pipelines API to view, create, update, and delete release pipelines, or to view the progress of all ongoing releases across all flags in a project for a given release pipeline.