Open Food Facts · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Open Food Facts open-prices REST Moderation API

5 actions 5 updates phrasing extends openapi/open-food-facts-moderation-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Open Food Facts's API. It is a proposal applied on top of the contract, not a document Open Food Facts publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/api/v1/flags'].get
$.paths['/api/v1/flags/{id}'].patch
$.paths['/api/v1/prices/{id}/flag'].post
$.paths['/api/v1/proofs/{id}/flag'].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 Open Food Facts open-prices REST Moderation API
  version: 1.0.0
extends: openapi/open-food-facts-moderation-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-18'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/api/v1/flags'].get
  update:
    x-apievangelist-phrasing:
      intent: List price and proof flags
      effect: read
      questions:
      - Which price flags are open on a product?
      - Can I filter flags by reason or status?
      instructions:
      - text: List price flags.
      - text: Show {reason} flags with status {status}.
        slots:
          reason: query.reason
          status: query.status
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/flags/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Close a price or proof flag
      effect: write
      questions:
      - How do I close a flag on a price?
      - Can I change a flag's status to closed?
      instructions:
      - text: Set flag {id} status to {status}.
        slots:
          id: path.id
          status: requestBody.status
      - text: Close price flag {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/prices/{id}/flag'].post
  update:
    x-apievangelist-phrasing:
      intent: Flag a price as wrong
      effect: write
      questions:
      - How do I report a wrong price on a product?
      - Can I leave a comment when flagging a price?
      instructions:
      - text: Flag price {id} for {reason} on {content_object}.
        slots:
          id: path.id
          reason: requestBody.reason
          content_object: requestBody.content_object
      - text: Mark price {id} as wrong with reason {reason}.
        slots:
          id: path.id
          reason: requestBody.reason
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/proofs/{id}/flag'].post
  update:
    x-apievangelist-phrasing:
      intent: Flag a price proof as wrong
      effect: write
      questions:
      - How do I report a fake price proof?
      - Can I flag a proof with a comment?
      instructions:
      - text: Flag proof {id} for {reason} on {content_object}.
        slots:
          id: path.id
          reason: requestBody.reason
          content_object: requestBody.content_object
      - text: Mark proof {id} as wrong with reason {reason}.
        slots:
          id: path.id
          reason: requestBody.reason
      method: generated
      generated: '2026-11-18'

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/open-food-facts-moderation-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.