OneTrust · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Consent & Preferences - Cookie Consent (Swagger)…

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

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/v2/categorize'].post
$.paths['/v2/categorizewithids'].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 Consent & Preferences - Cookie Consent (Swagger)…
  version: 1.0.0
extends: openapi/onetrust-categorizations-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['/v2/categorize'].post
  update:
    x-apievangelist-phrasing:
      intent: Categorize cookies by name and host
      effect: read
      questions:
      - Is a given cookie on my site strictly necessary, functional or targeting?
      - Can I check whether cookies are first-party or third-party by name and host?
      instructions:
      - text: Categorize cookies {cookies} for domain {domain}.
        slots:
          cookies: requestBody.cookies
          domain: requestBody.domain
      - text: Tell me the category of these named cookies on {domain}.
        slots:
          domain: requestBody.domain
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/categorizewithids'].post
  update:
    x-apievangelist-phrasing:
      intent: Categorize cookies by cookie ID
      effect: read
      questions:
      - Can I categorize cookies when I only have their cookie IDs?
      - What category do cookie IDs map to for a domain?
      instructions:
      - text: Categorize cookie IDs {cookiesIds} for domain {domain}.
        slots:
          cookiesIds: requestBody.cookiesIds
          domain: requestBody.domain
      - text: Look up categories for cookie IDs {cookiesIds} on {domain}.
        slots:
          cookiesIds: requestBody.cookiesIds
          domain: requestBody.domain
      method: generated
      generated: '2026-09-26'