Wger · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for wger Nutritiondiary API

8 actions 8 updates phrasing extends openapi/wger-nutritiondiary-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/nutritiondiary/'].get
$.paths['/api/v2/nutritiondiary/'].post
$.paths['/api/v2/nutritiondiary/{id}/'].get
$.paths['/api/v2/nutritiondiary/{id}/'].put
$.paths['/api/v2/nutritiondiary/{id}/'].delete
$.paths['/api/v2/nutritiondiary/{id}/'].patch
$.paths['/api/v2/nutritiondiary/{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 Nutritiondiary API
  version: 1.0.0
extends: openapi/wger-nutritiondiary-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/nutritiondiary/'].get
  update:
    x-apievangelist-phrasing:
      intent: List food log entries
      effect: read
      questions:
      - What did I eat each day this week?
      - Can I filter my food log by ingredient or date?
      instructions:
      - text: List my food log entries.
      - text: Show food log entries for ingredient {ingredient}.
        slots:
          ingredient: query.ingredient
      - text: Show food log entries on {date}.
        slots:
          date: query.datetime__date
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritiondiary/'].post
  update:
    x-apievangelist-phrasing:
      intent: Log a food entry
      effect: write
      questions:
      - How do I log a meal I ate into my food diary?
      - What do I need to record a food entry, like amount and ingredient?
      instructions:
      - text: Log {amount} of {ingredient} into food diary {plan}.
        slots:
          amount: requestBody.amount
          ingredient: requestBody.ingredient
          plan: requestBody.plan
      - text: Add a food entry for {ingredient} at {amount} on {date}.
        slots:
          ingredient: requestBody.ingredient
          amount: requestBody.amount
          date: requestBody.datetime
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritiondiary/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a food log entry
      effect: read
      questions:
      - What did I log in a specific food diary entry?
      - Can I look up one food log item by id?
      instructions:
      - text: Show food log entry {id}.
        slots:
          id: path.id
      - text: Get the details of food diary entry {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritiondiary/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a food log entry
      effect: write
      questions:
      - How do I overwrite a food diary entry completely?
      - Can I change the ingredient and amount of an existing food log item?
      instructions:
      - text: Replace food log entry {id} with ingredient {ingredient} at {amount} in plan {plan}.
        slots:
          id: path.id
          ingredient: requestBody.ingredient
          amount: requestBody.amount
          plan: requestBody.plan
      - text: Overwrite food diary entry {id} with {amount} of {ingredient}.
        slots:
          id: path.id
          amount: requestBody.amount
          ingredient: requestBody.ingredient
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritiondiary/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a food log entry
      effect: destructive
      questions:
      - How do I remove a food diary entry?
      - Can I delete a single food log item?
      instructions:
      - text: Delete food log entry {id}.
        slots:
          id: path.id
      - text: Remove the food diary entry {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritiondiary/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Edit part of a food log entry
      effect: write
      questions:
      - Can I change just the amount of a food diary entry?
      - How do I edit one field of a food log item without resending the rest?
      instructions:
      - text: Change the amount of food log entry {id} to {amount}.
        slots:
          id: path.id
          amount: requestBody.amount
      - text: Set the ingredient of food diary entry {id} to {ingredient}.
        slots:
          id: path.id
          ingredient: requestBody.ingredient
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritiondiary/{id}/nutritional_values/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a food log entry's nutritional values
      effect: read
      questions:
      - What are the nutritional values of a food diary entry?
      - Can I see the plan values behind one food log item?
      instructions:
      - text: Show the nutritional values of food log entry {id}.
        slots:
          id: path.id
      - text: Get the plan values for food diary entry {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-nutritiondiary-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.