Sentry · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Sentry Prevent Tokens API

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

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/organizations/{organization_id_or_slug}/prevent/tokens/'].get
$.paths['/organizations/{organization_id_or_slug}/prevent/tokens/regenerate/'].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 Sentry Prevent Tokens API
  version: 1.0.0
extends: openapi/sentry-system-tokens-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['/organizations/{organization_id_or_slug}/prevent/tokens/'].get
  update:
    x-apievangelist-phrasing:
      intent: List repository upload tokens
      effect: read
      questions:
      - Where do I find the upload token for each repository?
      - Can I page through all repository tokens?
      instructions:
      - text: List repository upload tokens for {org}.
        slots:
          org: path.organization_id_or_slug
      - text: Show more repository tokens in {org} from cursor {cursor}.
        slots:
          org: path.organization_id_or_slug
          cursor: query.cursor
      method: generated
      generated: '2026-09-26'
- target: $.paths['/organizations/{organization_id_or_slug}/prevent/tokens/regenerate/'].post
  update:
    x-apievangelist-phrasing:
      intent: Regenerate a repository upload token
      effect: destructive
      questions:
      - How do I rotate a leaked repository upload token?
      - Will regenerating a token break CI that uses the old one?
      instructions:
      - text: Regenerate the upload token for repository {repositoryId} in {org}.
        slots:
          repositoryId: requestBody.repositoryId
          org: path.organization_id_or_slug
      - text: Rotate repository {repositoryId}'s upload token.
        slots:
          repositoryId: requestBody.repositoryId
      method: generated
      generated: '2026-09-26'