Wger · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for wger Nutritionplan API

8 actions 8 updates phrasing extends openapi/wger-nutritionplan-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/nutritionplan/'].get
$.paths['/api/v2/nutritionplan/'].post
$.paths['/api/v2/nutritionplan/{id}/'].get
$.paths['/api/v2/nutritionplan/{id}/'].put
$.paths['/api/v2/nutritionplan/{id}/'].delete
$.paths['/api/v2/nutritionplan/{id}/'].patch
$.paths['/api/v2/nutritionplan/{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 Nutritionplan API
  version: 1.0.0
extends: openapi/wger-nutritionplan-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/nutritionplan/'].get
  update:
    x-apievangelist-phrasing:
      intent: List nutrition plans
      effect: read
      questions:
      - Which nutrition plans have I set up?
      - Can I find a nutrition plan by its goal calories?
      instructions:
      - text: List all my nutrition plans.
      - text: Find nutrition plans described as {description}.
        slots:
          description: query.description
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritionplan/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a nutrition plan
      effect: write
      questions:
      - How do I create a nutrition plan with a calorie goal?
      - Can a new nutrition plan only log food without a goal?
      instructions:
      - text: Create a nutrition plan with goal energy {goal_energy}.
        slots:
          goal_energy: requestBody.goal_energy
      - text: Create a nutrition plan described as {description}.
        slots:
          description: requestBody.description
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritionplan/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a nutrition plan
      effect: read
      questions:
      - What are the details of one nutrition plan?
      - When does a specific nutrition plan start and end?
      instructions:
      - text: Show nutrition plan {id}.
        slots:
          id: path.id
      - text: Get the start and end dates of nutrition plan {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritionplan/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a nutrition plan
      effect: write
      questions:
      - How do I overwrite a nutrition plan's goal values?
      - Can I set a nutrition plan's goal protein and fat in one request?
      instructions:
      - text: Replace nutrition plan {id} with goal energy {goal_energy}.
        slots:
          id: path.id
          goal_energy: requestBody.goal_energy
      - text: Overwrite the goal protein and fat of nutrition plan {id} to {goal_protein} and {goal_fat}.
        slots:
          id: path.id
          goal_protein: requestBody.goal_protein
          goal_fat: requestBody.goal_fat
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritionplan/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a nutrition plan
      effect: destructive
      questions:
      - How do I delete a nutrition plan?
      - Can I remove a nutrition plan by its ID?
      instructions:
      - text: Delete nutrition plan {id}.
        slots:
          id: path.id
      - text: Remove the nutrition plan {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritionplan/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change some fields of a nutrition plan
      effect: write
      questions:
      - Can I change only the description of a nutrition plan?
      - How do I set a nutrition plan's goal fiber without touching the rest?
      instructions:
      - text: Set the description of nutrition plan {id} to {description}.
        slots:
          id: path.id
          description: requestBody.description
      - text: Change only the goal fiber of nutrition plan {id} to {goal_fiber}.
        slots:
          id: path.id
          goal_fiber: requestBody.goal_fiber
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v2/nutritionplan/{id}/nutritional_values/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a nutrition plan's totals
      effect: read
      questions:
      - What are the total energy, protein and fat of a nutrition plan?
      - Can I see a nutrition plan's nutritional totals?
      instructions:
      - text: Show the nutritional values of nutrition plan {id}.
        slots:
          id: path.id
      - text: Get the total energy and protein for nutrition plan {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-nutritionplan-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.