OneTrust · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Consent & Preferences - Cookie Consent Templates API

3 actions 3 updates phrasing extends openapi/onetrust-templates-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['/api/cmp/v1/templates'].get
$.paths['/api/cmp/v1/templates/{templateId}'].get

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 Templates API
  version: 1.0.0
extends: openapi/onetrust-templates-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['/api/cmp/v1/templates'].get
  update:
    x-apievangelist-phrasing:
      intent: List cookie consent templates
      effect: read
      questions:
      - What cookie consent templates do we have and which version is current?
      - Can I search templates by name?
      instructions:
      - text: List all consent templates.
      - text: Search templates for {searchStr}.
        slots:
          searchStr: query.searchStr
      method: generated
      generated: '2026-09-26'
- target: $.paths['/api/cmp/v1/templates/{templateId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a cookie consent template
      effect: read
      questions:
      - What banner, preference center and cookie list does a template include?
      - Can I view a template's details in a specific language?
      instructions:
      - text: Show template {templateId}.
        slots:
          templateId: path.templateId
      - text: Get template {templateId} in language {language}.
        slots:
          templateId: path.templateId
          language: query.language
      method: generated
      generated: '2026-09-26'