tag:github.com,2008:https://github.com/launchdarkly/api-client-python/releasesRelease notes from api-client-python2025-04-04T17:42:06Ztag:github.com,2008:Repository/102905895/17.2.02025-04-04T17:42:06Z17.2.0<p>Version 17.2.0 automatically generated from ld-openapi.</p>brooswittag:github.com,2008:Repository/102905895/v17.2.02025-05-09T20:19:00Zv17.2.0<h3>Added</h3>
<ul>
<li>Added a new <code>maintainerId</code> field to the input request body of the <code>POST /api/v2/metrics/{projectKey}</code> endpoint</li>
<li>Added a new <code>resourceCategory</code> field to the rep returned by custom roles endpoints and the custom role post body</li>
<li>Added new <code>_presetBundleVersion</code> and <code>_presetStatements</code> fields to the rep returned by custom roles endpoints</li>
<li>Added new query params, aggregationType and contextKind, to the GET /api/v2/usage/mau endpoint</li>
<li>Added a new <code>assignedTo</code> expand parameter to <code>GET /api/v2/roles</code> and <code>GET /api/v2/roles/{customRoleKey}</code></li>
<li>Added fifteen new <code>AI Configs (beta)</code> endpoints for working with AI Configs, AI Config variations, and AI model configs</li>
<li>Added documentation for the <code>roleAttributes</code> field and <code>expand</code> query parameter on the following endpoints:
<ul>
<li><code>GET /api/v2/members</code></li>
<li><code>GET /api/v2/members/{memberId}</code></li>
<li><code>GET /api/v2/teams</code></li>
<li><code>GET /api/v2/teams/{teamKey}</code></li>
</ul>
</li>
<li>Added documentation for patching the <code>roleAttributes</code> field on the <code>PATCH /api/v2/teams/{teamKey}</code> endpoint</li>
<li>Added a new <code>category</code> field to the Metric response.</li>
<li>Added new public endpoints for working with announcements:
<ul>
<li><code>GET /api/v2/announcements</code></li>
<li><code>POST /api/v2/announcements</code></li>
<li><code>PATCH /api/v2/announcements/{announcementId}</code></li>
<li><code>DELETE /api/v2/announcements/{announcementId}</code></li>
</ul>
</li>
<li>Added a new 'sort' query parameter to <code>GET /api/v2/metric-groups/{projectKey}</code></li>
<li>Updated the 'filter' query parameter of <code>GET /api/v2/metric-groups/{projectKey}</code> to include 'kind' as a valid option</li>
<li>Added new <code>satisfactionRating</code> field to AI Configs metrics endpoints.</li>
<li>Added new <code>costPerInputToken</code> and <code>costPerInputToken</code> fields to AI Configs Models.</li>
<li>Added new cost metrics to AI Configs Metrics.</li>
<li>Added new endpoint for generating an RSA key pair in order to create a new data warehouse destination
<ul>
<li><code>POST /api/v2/destinations/generate-warehouse-destination-key-pair</code></li>
</ul>
</li>
</ul>
<h3>Removed</h3>
<ul>
<li>Removed legacy experiment results endpoint <code>GET /api/v2/flags/{projectKey}/{featureFlagKey}/experiments/{environmentKey}/{metricKey}}</code></li>
<li>Removed obsolete <code>isActive</code> field from endpoint <code>POST /api/v2/metrics/{projectKey}</code></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Updated the Data Export destination endpoints to include a new destination <code>kind</code></li>
<li>Expose <code>waitOnApprovals</code> request parameter on <code>POST /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports</code></li>
<li>Updated the ApprovalRequestResponse type to optionally include <code>resourceKind</code></li>
<li>Removed the beta tag from the following endpoints
<ul>
<li><code>POST /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports</code></li>
<li><code>GET /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports/{exportID}</code></li>
<li><code>POST /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports</code></li>
<li><code>GET /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports/{importID}</code></li>
</ul>
</li>
<li>Make <code>environments</code> optional on :
<ul>
<li><code>GET /api/v2/flags/{projectKey}</code> (List flags)</li>
<li><code>POST /api/v2/flags/{projectKey}</code> (Create flag)</li>
<li><code>GET /api/v2/flags/{projectKey}/{featureFlagKey}</code> (Get flag)</li>
<li><code>PATCH /api/v2/flags/{projectKey}/{featureFlagKey}</code> (Patch flag)</li>
<li><code>POST /api/v2/flags/{projectKey}/{featureFlagKey}/copy</code> (Copy flag)</li>
</ul>
</li>
<li>Added a list of valid values to the <code>Import</code> type returned by the <code>GET /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports/{importID}</code> endpoint</li>
</ul>LaunchDarklyReleaseBottag:github.com,2008:Repository/102905895/17.1.02024-12-13T22:27:40Z17.1.0<p>Version 17.1.0 automatically generated from ld-openapi.</p>brooswittag:github.com,2008:Repository/102905895/v17.1.02025-05-09T20:18:23Zv17.1.0<h3>Added</h3>
<ul>
<li>Added a <code>roleAttributes</code> field to the <code>POST /api/v2/teams</code> endpoint (Create team)</li>
<li>Updated the request body type on <code>PATCH /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}</code></li>
<li>Added new endpoints for working with integration configurations:
<ul>
<li><code>POST /api/v2/integration-configurations/keys/{integrationKey}</code> (Create integration configuration)</li>
<li><code>GET /api/v2/integration-configurations/keys/{integrationKey}</code> (Get all configurations for the integration)</li>
<li><code>GET /api/v2/integration-configurations/{integrationConfigurationId}</code> (Get an integration configuration)</li>
<li><code>PATCH /api/v2/integration-configurations/{integrationConfigurationId}</code> (Update integration configuration)</li>
<li><code>DELETE /api/v2/integration-configurations/{integrationConfigurationId}</code> (Delete integration configuration)</li>
</ul>
</li>
<li>Added the new endpoint <code>PATCH /api/v2/approval-requests/{id}</code></li>
<li>Added a new endpoint in beta <code>PUT /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}</code></li>
<li>Expose <code>roleAttributes</code> on the Team type</li>
<li>Expose <code>totalCount</code> in paginated roles API response</li>
</ul>
<h3>Removed</h3>
<ul>
<li>Removed the unused <code>bakeTimeDurationMs</code> field from endpoints that return release and release pipeline details. These endpoints are currently in beta.</li>
<li>Removed the beta endpoint <code>PATCH /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}</code></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Updated <code>environment</code> in the following beta endpoints to no longer be required, in order to account for deleted environments:
<ul>
<li><code>GET /api/v2/flags/{projectKey}/{flagKey}/release</code></li>
<li><code>PATCH /api/v2/flags/{projectKey}/{flagKey}/release</code></li>
<li><code>PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release</code></li>
<li><code>PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release/phases/{phaseId}</code></li>
<li><code>GET /api/v2/projects/{projectKey}/release-pipelines</code></li>
<li><code>POST /api/v2/projects/{projectKey}/release-pipelines</code></li>
<li><code>GET /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}</code></li>
<li><code>PATCH /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}</code></li>
</ul>
</li>
<li>Renamed the <code>/api/v2/integration-capabilities/big-segment-store</code> endpoints to use the <code>Persistent store integrations (beta)</code> tag. Previously they used the <code>Integrations (beta)</code> tag. If you use a <a href="https://launchdarkly.com/docs/api#openapi-swagger-and-client-libraries" rel="nofollow">generated client library</a>, the package names have changed for the following endpoints:
<ul>
<li><code>GET /api/v2/integration-capabilities/big-segment-store</code> (List all big segment store integrations)</li>
<li><code>POST /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}</code> (Create big segment store integration)</li>
<li><code>GET /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}</code> (Get big segment store integration by ID)</li>
<li><code>PATCH /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}</code> (Update big segment store integration)</li>
<li><code>DELETE /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}</code> (Delete big segment store integration)</li>
</ul>
</li>
<li>Renamed the <code>/api/v2/integration-capabilities/flag-import</code> endpoints to use the <code>Flag import configurations (beta)</code> tag. Previously they used the <code>Integrations (beta)</code> tag. If you use a <a href="https://launchdarkly.com/docs/api#openapi-swagger-and-client-libraries" rel="nofollow">generated client library</a>, the package names have changed for the following endpoints:
<ul>
<li><code>GET /api/v2/integration-capabilities/flag-import</code> (List all flag import configurations)</li>
<li><code>POST /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}</code> (Create a flag import configuration)</li>
<li><code>GET /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}</code> (Get a single flag import configuration)</li>
<li><code>PATCH /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}</code> (Update a flag import configuration)</li>
<li><code>DELETE /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}</code> (Delete a flag import configuration)</li>
<li><code>POST /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}/trigger</code> (Trigger a single flag import run)</li>
</ul>
</li>
<li>Updated the operation id and summary field definitions for the <code>PATCH /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}</code> endpoint</li>
<li>Updated <code>items</code> in <code>/api/v2/roles</code> response body to be required</li>
<li>Updated <code>items</code> in <code>/api/v2/teams</code> response body to be required</li>
<li>Added the property <code>resourceApprovalSettings</code> in the environment type</li>
<li>Updated <code>instructions[].value</code> property in the <code>PATCH /api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey}</code> endpoint to be a 64 bit integer</li>
</ul>LaunchDarklyReleaseBottag:github.com,2008:Repository/102905895/17.0.02024-10-15T18:03:09Z17.0.0<h3>Added</h3>
<ul>
<li>Added <code>filter</code> query parameter to <code>GET /api/v2/metrics/{projectKey}</code> (List metrics)</li>
<li>Added <code>expand</code> query parameter to <code>GET /api/v2/members/{id}</code> (Get member</li>
<li>Added <code>expand</code> query parameter to <code>GET /api/v2/members</code> (List member)</li>
<li>Added <code>expand</code> query parameter to <code>PATCH /api/v2/members/{id}</code> (Patch member)</li>
<li>Added <code>expand</code> query parameter to <code>POST /api/v2/members</code> (Create member)</li>
<li>Updated <code>MemberRep</code> to include <code>RoleAttributes</code></li>
<li>Updated <code>MetricInGroupRep</code> and <code>MetricV2Rep</code> to both contain the metric's 'unitAggregationType`</li>
<li>Updated the <code>kind</code> field in <code>DependentMetricOrMetricGroupRep</code> to allow enum value <code>standard</code>, used for metric groups</li>
<li>Added <code>latestCommitTime</code> field to the response of <code>GET /api/v2/code-refs/statistics/{projectKey}</code> (Get code references statistics for flags)</li>
<li>Added optional <code>statisticalMethodology</code> field to the request body of <code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create experiment)</li>
<li>Added <code>statisticalMethodology</code> field to the response bodies of:
<ul>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create experiment)</li>
<li><code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Patch experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Get experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Get experiments)</li>
</ul>
</li>
<li>Added <code>autoApplyApprovedChanges</code> field to environment approval settings on project, environment, and approval request responses.</li>
<li>Added <code>total_count</code> field to the response of <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts</code></li>
<li>Added <code>links</code> field to the response of <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts</code></li>
<li>Added <code>limit</code> and <code>offset</code> query parameters to <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts</code></li>
<li>Added the <code>GET /api/v2/caller-identity</code> endpoint to aid in secret scanning integrations</li>
<li>Updated the <code>GET /api/v2/flags/{projectKey}/{flagKey}/release</code> to include the property <code>_id</code> in the audience response</li>
<li>Added the following endpoints in beta for Release Automation:
<ul>
<li><code>DELETE /api/v2/flags/{projectKey}/{flagKey}/release</code></li>
<li><code>PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release</code></li>
<li><code>PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release/phases/{phaseId}</code></li>
<li><code>GET /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}/releases</code></li>
</ul>
</li>
<li>Added optional <code>holdoutId</code> field to the request body of <code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create experiment)</li>
<li>Added <code>holdoutId</code> field to the response bodies of:
<ul>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create experiment)</li>
<li><code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Patch experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Get experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Get experiments)</li>
<li>Updated <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes/{attributeName}</code> to accept a limit param.</li>
</ul>
</li>
<li>Added optional <code>projectKey</code>/<code>environmentKey</code> to the query params of beta endpoints:
<ul>
<li><code>GET /api/v2/usage/service-connections</code></li>
<li><code>GET /api/v2/usage/experimentation-units</code></li>
<li><code>GET /api/v2/usage/experimentation-keys</code></li>
<li><code>GET /api/v2/usage/data-export-events</code></li>
</ul>
</li>
<li>Added <code>environmentKey</code> field to the response bodies of:
<ul>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create experiment)</li>
<li><code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Patch experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Get experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Get experiments)</li>
</ul>
</li>
<li>Added <code>POST /api/v2/auditlog</code> to support large policy statement lists (that would not otherwise fit in the URL)</li>
<li>Updated 200 response type for <code>PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release/phases/{phaseId}</code></li>
<li>Updated <code>FeatureFlagStatus</code> to use an enum for its <code>name</code></li>
<li>Updated <code>PATCH /api/v2/projects/{projectKey}/flags/{flagKey}</code> to include the <code>ignoreConflicts</code> query parameter</li>
<li>Added <code>variance</code> field for each relative difference in the <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/results</code> endpoint</li>
<li>Added <code>varianceReduction</code> field for each relative difference in the <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/results</code> endpoint</li>
<li>Added endpoints for managing experiment layers:
<ul>
<li>Create a new layer: <code>POST /api/v2/projects/{projectKey}/layers</code></li>
<li>Update a layer: <code>PATCH /api/v2/projects/{projectKey}/layers/{layerKey}</code></li>
<li>Get layers: <code>GET /api/v2/projects/{projectKey}/layers</code></li>
</ul>
</li>
<li>Added endpoints for managing holdouts:
<ul>
<li>Create a new holdout: <code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}</code></li>
<li>Update a holdout: <code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}</code></li>
<li>Get a holdout by id: <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/id/{holdoutId}</code></li>
<li>Get a holdout by key: <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}</code></li>
</ul>
</li>
<li>Added <code>totalCount</code> field to the response body of <code>GET /api/v2/metrics/{projectKey}</code> (list metrics)</li>
<li>Added pagination to <code>GET /api/v2/projects/{projectKey}/metric-groups</code> (list metric groups)
<ul>
<li>Added <code>limit</code> and <code>offset</code> query params</li>
<li>Added <code>totalCount</code> field to the response body</li>
</ul>
</li>
<li>Added optional <code>attributes</code> field to the request body of <code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (create experiment) and <code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations</code> (create iteration)</li>
<li>Added <code>version</code> field to the response bodies of:
<ul>
<li><code>GET /api/v2/members</code> (Get members)</li>
<li><code>GET /api/v2/members/{id}</code> (Get member)</li>
<li><code>PATCH /api/v2/members/{id}</code> (Patch member)</li>
<li><code>POST /api/v2/members</code> (Create member)</li>
<li><code>POST /members/{id}/teams</code> (Add member to teams)</li>
</ul>
</li>
<li>Added optional <code>initialPrerequisites</code> field to request body of <code>POST /api/v2/flags/{projectKey}</code> endpoint (Create Flag).</li>
<li>Added <code>eventValuesSum</code> field for each treatment result in the <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/results</code> endpoint</li>
<li>Added new endpoints for working with flag import configurations:
<ul>
<li><code>POST /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}</code> (Create flag import configuration)</li>
<li><code>GET /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}</code> (Get flag import configuration)</li>
<li><code>GET /api/v2/integration-capabilities/flag-import</code> (List all flag import configurations)</li>
<li><code>PATCH /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}</code> (Update flag import configuration)</li>
<li><code>POST /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}/trigger</code> (Trigger a flag import run)</li>
<li><code>DELETE /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}</code> (Delete flag import configuration)</li>
</ul>
</li>
<li>Added <code>model</code>, <code>bayesianNormal</code>, and <code>bayesianBeta</code> fields for each treatment result in the <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/results</code> endpoint</li>
<li>Added optional <code>methodology</code> field to the request body of <code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create experiment)</li>
<li>Added <code>methodology</code> field to the response bodies of:
<ul>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create experiment)</li>
<li><code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Patch experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Get experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Get experiments)</li>
</ul>
</li>
<li>Added <code>correlation</code>, <code>sdRatio</code>, and <code>covariateImbalance</code> fields for each treatment result in the <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/results</code> endpoint</li>
<li>Added optional <code>namingConvention</code> field to the request body of <code>POST /api/v2/projects</code> (Create project)</li>
<li>Added new endpoint for updating an approval request: <code>PATCH /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}</code> (Update approval request)</li>
<li>Added optional <code>query</code> field to the <code>filter</code> param on <code>GET /api/v2/projects/{projectKey}/metric-groups</code> to search against the metric group name and key</li>
<li>Added documentation for the <code>filter</code> param on <code>GET /api/v2/projects/{projectKey}/metric-groups</code></li>
<li>Added <code>limit</code>, <code>offset</code>, and <code>asOf</code> query parameters to the <code>GET /api/v2/tags</code> (List tags) endpoint</li>
<li>Added optional <code>limit</code> field to <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes</code></li>
<li>Updated the <code>distribution</code> field in the <code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/results</code> endpoint to always use <code>number</code> parameters</li>
<li>Added new endpoints for working with integration configurations:
<ul>
<li><code>POST /api/v2/integration-configurations/keys/{integrationKey}</code> (Create integration configuration)</li>
<li><code>GET /api/v2/integration-configurations/keys/{integrationKey}</code> (Get all configurations for the integration)</li>
<li><code>GET /api/v2/integration-configurations/{integrationConfigurationId}</code> (Get an integration configuration)</li>
<li><code>PATCH /api/v2/integration-configurations/{integrationConfigurationId}</code> (Update integration configuration)</li>
<li><code>DELETE /api/v2/integration-configurations/{integrationConfigurationId}</code> (Delete integration configuration)</li>
</ul>
</li>
</ul>
<h3>Removed</h3>
<ul>
<li>Removed the <code>isDirty</code> field from the <code>Holdout</code> responses from the following endpoints:
<ul>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts</code></li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/id/{holdoutId}</code></li>
<li><code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}</code></li>
</ul>
</li>
<li>Removed <code>statisticalMethodology</code> field from the request body of <code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create experiment)</li>
<li>Removed <code>statisticalMethodology</code> field from the response bodies of:
<ul>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create experiment)</li>
<li><code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Patch experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Get experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Get experiments)</li>
</ul>
</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Updated the following beta endpoints to include fields specific to Release Automation:
<ul>
<li><code>GET /api/v2/flags/{projectKey}/{flagKey}/release</code></li>
<li><code>PATCH /api/v2/flags/{projectKey}/{flagKey}/release</code></li>
<li><code>GET /api/v2/projects/{projectKey}/release-pipelines</code>
<ul>
<li>Added support for filtering release pipelines by <code>env</code> key</li>
</ul>
</li>
<li><code>POST /api/v2/projects/{projectKey}/release-pipelines</code></li>
<li><code>GET /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}</code></li>
<li><code>PATCH /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}</code></li>
</ul>
</li>
<li>Updated <code>purpose</code> enum on <code>FlagPost</code> input object to include <code>holdout</code></li>
<li>Deprecated the <code>compare</code> query parameter in the <code>GET /api/v2/flags/{projectKey}</code> (List feature flags) endpoint</li>
<li>Updated <code>deprecated</code> as optional on the following endpoints:
<ul>
<li><code>GET /api/v2/flags/{projectKey}</code></li>
<li><code>POST /api/v2/flags/{projectKey}</code></li>
<li><code>GET /api/v2/flags/{projectKey}/{featureFlagKey}</code></li>
<li><code>PATCH /api/v2/flags/{projectKey}/{featureFlagKey}</code></li>
<li><code>POST /api/v2/flags/{projectKey}/{featureFlagKey}/copy</code></li>
</ul>
</li>
<li>Updated <code>default</code> as optional on <code>PUT /api/v2/projects/{projectKey}/experimentation-settings</code></li>
<li>Updated <code>totalCount</code> as optional on <code>GET /api/v2/segments/{projectKey}/{environmentKey}</code></li>
<li>Update <code>value</code> as optional on <code>PatchOperation</code> since it is only required for certain JSON Patch operations</li>
<li>Update <code>Experiments (beta)</code> tag to <code>Experiments</code></li>
<li>Updated iterations to include <code>attributes</code> field in the response bodies of
<ul>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code></li>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code></li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/</code></li>
<li><code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code></li>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations</code></li>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts</code></li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}</code></li>
<li><code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}</code></li>
</ul>
</li>
<li>Renamed <code>PUT /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers/{memberId}</code> as <code>putFlagFollower</code></li>
<li>Renamed <code>DELETE /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers/{memberId}</code> as <code>deleteFlagFollower</code></li>
<li>Updated the types of query parameters in the <code>GET /api/v2/tags</code> (List tags) endpoint</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Updated OpenAPI specification to include missing <code>sort</code>, <code>limit</code> and <code>offset</code> query params on the <code>GET /api/v2/metrics/{projectKey}</code> (list metrics) endpoint</li>
<li>Fixed incorrect <code>self</code> and <code>next</code> links sometimes returned by the <code>GET /api/v2/metrics/{projectKey}</code> (list metrics) endpoint</li>
</ul>lucywymantag:github.com,2008:Repository/102905895/16.1.12024-05-16T12:11:10Z16.1.1<p>No significant changes.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/launchdarkly/api-client-python/compare/16.1.0...16.1.1"><tt>16.1.0...16.1.1</tt></a></p>ldhenrytag:github.com,2008:Repository/102905895/16.1.02024-05-16T11:19:25Z16.1.0<h2>[16.1.0] - 2024-05-16</h2>
<h3>Added</h3>
<ul>
<li>Added optional <code>notInExperimentVariationId</code> field to <code>flags</code> inside <code>iteration</code> in the request body of <code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create Experiment)</li>
<li>Added optional <code>notInExperimentVariationId</code> field in <code>flags</code> in the request body of <code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations</code> (Create Iteration)</li>
<li>Added <code>notInExperimentVariationId</code> field to the <code>flags</code> object in the response bodies of:
<ul>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments</code> (Create Experiment)</li>
<li><code>POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations</code> (Create Iteration)</li>
<li><code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Patch Experiment)</li>
<li><code>GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Get Experiment)</li>
</ul>
</li>
<li>Added HTTP 409 as a possible response status code for <code>PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}</code> (Patch Experiment)</li>
</ul>ldhenrytag:github.com,2008:Repository/102905895/16.0.02024-04-15T20:40:13Z16.0.0<h3>Added</h3>
<ul>
<li>Added <code>totalCount</code> field to response of <code>GET /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows</code></li>
<li>Added <code>limit</code> and <code>offset</code> query params to <code>getWorkflows</code> and <code>getCustomRoles</code> endpoints</li>
</ul>
<h3>Removed</h3>
<ul>
<li>Removed the <code>followerId</code>, <code>hasDataExport</code>, <code>status</code>, <code>contextKindTargeted</code>, and <code>segmentTargeted</code> filters for the <code>getFeatureFlags</code> endpoint</li>
<li>Removed the <code>projects</code> and <code>roles</code> options for the <code>expand</code> query parameter in the <code>getTeams</code> endpoint</li>
</ul>lucywymantag:github.com,2008:Repository/102905895/15.1.02024-04-03T23:31:11Z15.1.0<p>Version 15.1.0 automatically generated from ld-openapi.</p>brooswittag:github.com,2008:Repository/102905895/15.0.02024-03-13T23:59:10Z15.0.0<h3>Added</h3>
<ul>
<li>Added <code>deprecated</code> and <code>deprecatedDate</code> to the rep returned by the flags endpoints</li>
<li>Added an optional <code>description</code> field for a segment rule</li>
<li>Added <code>Integrations (beta)</code> endpoints for working with big segment persistent store integrations</li>
<li>Added <code>environmentKey</code> to dependent experiment rep</li>
<li>Added <code>lastModified</code> to the <code>unbounded</code> object returned by Segment APIs</li>
<li>Added <code>results</code> field to <code>GET /projects/{projKey}/environments/{envKey}/experiments/{experimentKey}/metrics/{metricKey}/results</code>, deprecating <code>treatmentResults</code></li>
<li>Added <code>critical</code> to Environment object and <code>POST /api/v2/projects/{projectKey}/environments</code> endpoint request body.</li>
<li>Added <code>expand</code> query parameter to <code>GET /projects/{projKey}/environments/{envKey}/experiments/{experimentKey}/metrics/{metricKey}/results</code> with support for expanding <code>traffic</code></li>
<li>Added pagination parameters limit and offset to /api/v2/tokens</li>
<li>Added missing response information to <code>PATCH /api/v2/flags/{projectKey}/{flagKey}/release</code></li>
<li>Added 4xx response info to <code>GET /api/v2</code>, <code>GET /api/v2/openapi.json</code>, and <code>GET /api/v2/public-ip-list</code></li>
<li>Added <code>key</code> to the rep returned by flag defaults endpoints</li>
<li>Added <code>type</code> to code references statistics reps</li>
<li>Added <code>standard</code> as a metric group kind</li>
<li>Added <code>primarySingleMetric</code>, <code>primaryFunnel</code>, and <code>metrics</code> to <code>IterationRep</code>, deprecating <code>primaryMetric</code> and <code>secondaryMetric</code></li>
<li>Added <code>primarySingleMetricKey</code> and <code>primaryFunnelKey</code> to <code>IterationInput</code>, deprecating <code>primary</code> in <code>MetricInput</code></li>
<li>Added <code>_versionId</code> field to the metric rep returned by metric and experimentation endpoints</li>
<li>Added beta engineering insights endpoints</li>
</ul>
<h3>Removed</h3>
<ul>
<li>Removed components schemas that were unused by any paths or operations</li>
<li>Removed the endpoint to reset experiment results</li>
<li>Removed the endpoint to create an application</li>
<li>Removed the endpoint to create an application version</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Updated definition of post delete approval request to include previously ommited error codes 405 and 409</li>
<li>Marked <code>key</code> and <code>name</code> required in <code>MaintainerTeam</code> to match API behavior</li>
<li>Added <code>filter</code> to <code>/api/v2/projects/{projectKey}/release-pipelines</code></li>
<li>Added pagination parameters <code>limit</code> and <code>offset</code> to <code>/api/v2/projects/{projectKey}/release-pipelines</code></li>
<li>Renamed experimentation settings endpoints and reps to randomization settings, the fields and api's remain the same.</li>
<li>Marked <code>nameInGroup</code> as optional in <code>MetricInGroupRep</code> if and only if the group isn't a <code>funnel</code>.</li>
</ul>lucywyman