Wger · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for wger Mealitem API

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

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/api/v2/mealitem/'].get
$.paths['/api/v2/mealitem/'].post
$.paths['/api/v2/mealitem/{id}/'].get
$.paths['/api/v2/mealitem/{id}/'].put
$.paths['/api/v2/mealitem/{id}/'].delete
$.paths['/api/v2/mealitem/{id}/'].patch
$.paths['/api/v2/mealitem/{id}/nutritional_values/'].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 wger Mealitem API
  version: 1.0.0
extends: openapi/wger-mealitem-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/api/v2/mealitem/'].get
  update:
    x-apievangelist-phrasing:
      intent: List ingredients in a meal
      effect: read
      questions:
      - Which ingredients are in a particular meal?
      - Can I list the ingredients of a meal with a given amount?
      instructions:
      - text: List ingredients in meal {meal}.
        slots:
          meal: query.meal
      - text: Show ingredients of meal {meal} with amount {amount}.
        slots:
          meal: query.meal
          amount: query.amount
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/mealitem/'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an ingredient to a meal
      effect: write
      questions:
      - How do I add an ingredient to a meal?
      - Can I record how much of an ingredient goes into a meal?
      instructions:
      - text: Add ingredient {ingredient} to meal {meal} in amount {amount}.
        slots:
          ingredient: requestBody.ingredient
          meal: requestBody.meal
          amount: requestBody.amount
      - text: Record {amount} of {ingredient} in meal {meal}.
        slots:
          amount: requestBody.amount
          ingredient: requestBody.ingredient
          meal: requestBody.meal
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/mealitem/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a meal ingredient
      effect: read
      questions:
      - What ingredient and amount is in a specific meal item?
      - Can I look up one meal ingredient by its ID?
      instructions:
      - text: Get meal ingredient {id}.
        slots:
          id: path.id
      - text: Show the amount and ingredient of meal item {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/mealitem/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a meal ingredient
      effect: write
      questions:
      - How do I replace an ingredient in a meal?
      - Can I change both the ingredient and amount of a meal item?
      instructions:
      - text: Replace ingredient {ingredient} in meal {meal} with amount {amount}.
        slots:
          ingredient: requestBody.ingredient
          meal: requestBody.meal
          amount: requestBody.amount
      - text: Set meal item {id} to ingredient {ingredient}, amount {amount}, meal {meal}.
        slots:
          id: path.id
          ingredient: requestBody.ingredient
          amount: requestBody.amount
          meal: requestBody.meal
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/mealitem/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an ingredient from a meal
      effect: destructive
      questions:
      - How do I remove an ingredient from a meal?
      - Can I delete a meal item?
      instructions:
      - text: Remove ingredient from meal item {id}.
        slots:
          id: path.id
      - text: Delete meal item {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/mealitem/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change part of a meal ingredient
      effect: write
      questions:
      - Can I change just the amount of an ingredient in a meal?
      - How do I swap the ingredient in a meal item?
      instructions:
      - text: Change the amount of meal item {id} to {amount}.
        slots:
          id: path.id
          amount: requestBody.amount
      - text: Swap the ingredient in meal item {id} to {ingredient}.
        slots:
          id: path.id
          ingredient: requestBody.ingredient
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/mealitem/{id}/nutritional_values/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a meal ingredient's nutrition
      effect: read
      questions:
      - What are the calories and macros of an ingredient in a meal?
      - Can I see the nutritional values of a meal item?
      instructions:
      - text: Get the nutritional values of meal ingredient {id}.
        slots:
          id: path.id
      - text: Show calories and macros for meal item {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'

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/wger-mealitem-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.