Harness · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Harness Environment Perspectives API

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

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/cf/admin/environments/perspectives'].put
$.paths['/cf/admin/environments/perspectives'].delete

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 Harness Environment Perspectives API
  version: 1.0.0
extends: openapi/harness-environment-perspectives-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['/cf/admin/environments/perspectives'].put
  update:
    x-apievangelist-phrasing:
      intent: Link a perspective to an environment
      effect: write
      questions:
      - How do I attach a perspective to a feature flag environment?
      - Can an environment have more than one perspective?
      instructions:
      - text: Link perspective {perspective} named {name} to environment {env} in {org}/{project}.
        slots:
          org: query.orgIdentifier
          project: query.projectIdentifier
          env: query.environmentIdentifier
          perspective: requestBody.perspectiveIdentifier
          name: requestBody.perspectiveName
      - text: Replace environment {env}'s perspective with {perspective} ({name}) in project {project}, org {org}.
        slots:
          org: query.orgIdentifier
          project: query.projectIdentifier
          env: query.environmentIdentifier
          perspective: requestBody.perspectiveIdentifier
          name: requestBody.perspectiveName
      method: generated
      generated: '2026-09-26'
- target: $.paths['/cf/admin/environments/perspectives'].delete
  update:
    x-apievangelist-phrasing:
      intent: Unlink the perspective from an environment
      effect: destructive
      questions:
      - How do I remove the perspective linked to an environment?
      - What happens to an environment after its perspective link is deleted?
      instructions:
      - text: Remove the perspective link from environment {env} in {org}/{project}.
        slots:
          org: query.orgIdentifier
          project: query.projectIdentifier
          env: query.environmentIdentifier
      - text: Detach environment {env}'s perspective in project {project}, org {org}.
        slots:
          org: query.orgIdentifier
          project: query.projectIdentifier
          env: query.environmentIdentifier
      method: generated
      generated: '2026-09-26'