Didomi · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Didomi Purposes API

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

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/metadata/purposes/restrictions'].get
$.paths['/metadata/purposes'].get
$.paths['/metadata/purposes'].post
$.paths['/metadata/purposes/{id}'].get
$.paths['/metadata/purposes/{id}'].put
$.paths['/metadata/purposes/{id}'].delete
$.paths['/metadata/purposes/{id}'].patch

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 Didomi Purposes API
  version: 1.0.0
extends: openapi/didomi-purposes-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/metadata/purposes/restrictions'].get
  update:
    x-apievangelist-phrasing:
      intent: List purposes available for restrictions
      effect: read
      questions:
      - Which purposes can I restrict consent for?
      - What purpose IDs are available for restrictions?
      instructions:
      - text: List the purposes available for restrictions.
      - text: Show restriction-capable purposes for organization {organization_id}.
        slots:
          organization_id: query.organization_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/metadata/purposes'].get
  update:
    x-apievangelist-phrasing:
      intent: List consent purposes
      effect: read
      questions:
      - What purposes are defined for consent?
      - Can I sort and limit the list of purposes?
      instructions:
      - text: List all purposes.
      - text: List purposes for organization {organization_id}.
        slots:
          organization_id: query.organization_id
      - text: List {limit} purposes sorted by {sort}.
        slots:
          limit: query.$limit
          sort: query.$sort
      method: generated
      generated: '2026-11-19'
- target: $.paths['/metadata/purposes'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a consent purpose
      effect: write
      questions:
      - How do I add a new purpose for user consent?
      - Can a purpose be tied to a CNIL reference number?
      instructions:
      - text: Create a purpose named {description}.
        slots:
          description: requestBody.description
      - text: Create a purpose {description} with reference {reference}.
        slots:
          description: requestBody.description
          reference: requestBody.reference
      method: generated
      generated: '2026-11-19'
- target: $.paths['/metadata/purposes/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one consent purpose
      effect: read
      questions:
      - What details are stored for a single purpose?
      - Can I look up a purpose by its ID?
      instructions:
      - text: Get purpose {id}.
        slots:
          id: path.id
      - text: Show the details of consent purpose {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/metadata/purposes/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a consent purpose
      effect: write
      questions:
      - How do I overwrite all fields of an existing purpose?
      - Does replacing a purpose replace its reference and regulations?
      instructions:
      - text: Replace purpose {id} with description {description}.
        slots:
          id: path.id
          description: requestBody.description
      - text: Overwrite consent purpose {id} with reference {reference}.
        slots:
          id: path.id
          reference: requestBody.reference
      method: generated
      generated: '2026-11-19'
- target: $.paths['/metadata/purposes/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a consent purpose
      effect: destructive
      questions:
      - How do I remove a purpose I no longer need?
      - Can I delete a purpose by its ID?
      instructions:
      - text: Delete purpose {id}.
        slots:
          id: path.id
      - text: Remove consent purpose {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/metadata/purposes/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Partially update a consent purpose
      effect: write
      questions:
      - Can I change just the description of an existing purpose?
      - How do I add a regulation to a purpose without replacing it?
      instructions:
      - text: Change the description of purpose {id} to {description}.
        slots:
          id: path.id
          description: requestBody.description
      - text: Add regulations {regulations_id} to purpose {id}.
        slots:
          id: path.id
          regulations_id: requestBody.regulations_id
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/didomi-purposes-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.