LaunchDarkly · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for LaunchDarkly REST Approvals API

3 actions 3 updates phrasing extends openapi/launchdarkly-approvals-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for LaunchDarkly's API. It is a proposal applied on top of the contract, not a document LaunchDarkly publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/flags/{projectKey}/{flagKey}/approval-requests/{environmentKey}'].get
$.paths['/flags/{projectKey}/{flagKey}/approval-requests/{environmentKey}'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for LaunchDarkly REST Approvals API
  version: 1.0.0
extends: openapi/launchdarkly-approvals-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 2
- target: $.paths['/flags/{projectKey}/{flagKey}/approval-requests/{environmentKey}'].get
  update:
    x-apievangelist-phrasing:
      intent: List approval requests for a flag
      effect: read
      questions:
      - Which approval requests are open on this feature flag?
      - Can I see approval requests for a flag in just one environment?
      - How do I check who has asked for sign-off on a flag change?
      instructions:
      - text: List approval requests for flag {flagKey} in project {projectKey}, environment {environmentKey}.
        slots:
          flagKey: path.flagKey
          projectKey: path.projectKey
          environmentKey: path.environmentKey
      - text: Show pending approvals for {flagKey} in {environmentKey} of {projectKey}.
        slots:
          flagKey: path.flagKey
          environmentKey: path.environmentKey
          projectKey: path.projectKey
      method: generated
      generated: '2026-09-26'
- target: $.paths['/flags/{projectKey}/{flagKey}/approval-requests/{environmentKey}'].post
  update:
    x-apievangelist-phrasing:
      intent: Request approval for a flag change
      effect: write
      questions:
      - How do I ask for approval before changing a flag in production?
      - Can I notify specific teammates when I request a flag approval?
      - What does an approval request need besides a description?
      instructions:
      - text: 'Request approval to change {flagKey} in {environmentKey} of project {projectKey}: {description}.'
        slots:
          flagKey: path.flagKey
          environmentKey: path.environmentKey
          projectKey: path.projectKey
          description: requestBody.description
      - text: Submit an approval request for {flagKey} in {projectKey}/{environmentKey} and notify {notifyMemberIds}.
        slots:
          flagKey: path.flagKey
          projectKey: path.projectKey
          environmentKey: path.environmentKey
          notifyMemberIds: requestBody.notifyMemberIds
      method: generated
      generated: '2026-09-26'