Tandoor Recipes Meal Type API

The Meal Type API from Tandoor Recipes — 5 operation(s) for meal type.

GitHub OpenAPI

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/meal-type/ List meal types · Api meal type list #
Ask an LLM
“What meal types have I created?”
“Can I page through my meal types?”
Tell an agent
List my meal types.
Show page {page} of my meal types, {page_size} per page.
POST /api/meal-type/ Create a meal type · Api meal type create #
Ask an LLM
“How do I add a new meal type?”
“Can I set a cooking time and color when creating a meal type?”
Tell an agent
Create a meal type named {name} by {created_by}.
Add meal type {name} with cooking time {time} and color {color}.
GET /api/meal-type/{id}/ Get a meal type · Api meal type retrieve #
Ask an LLM
“What time and color does a meal type have?”
“Can I fetch one meal type by id?”
Tell an agent
Show meal type {id}.
Get the cooking time and color of meal type {id}.
PUT /api/meal-type/{id}/ Replace a meal type · Api meal type update #
Ask an LLM
“How do I overwrite a meal type's name and time?”
“Can I reset the order of a meal type?”
Tell an agent
Replace meal type {id} with name {name} and time {time}, created by {created_by}.
Set meal type {id} to order {order}.
PATCH /api/meal-type/{id}/ Change a meal type's name or time · Api meal type partial update #
Ask an LLM
“Can I rename a meal type without resending everything?”
“Is there a way to change just the color of a meal type?”
Tell an agent
Rename meal type {id} to {name}.
Set the color of meal type {id} to {color}.
DELETE /api/meal-type/{id}/ Delete a meal type · Api meal type destroy #
Ask an LLM
“How do I delete a meal type?”
“Can I remove a meal type I no longer offer?”
Tell an agent destructive · confirm first
Delete meal type {id}.
Remove meal type {id} from my menu.
GET /api/meal-type/{id}/cascading/ List meal types that would be deleted with one · Api meal type cascading list #
Ask an LLM
“What would be deleted if I removed a meal type?”
“Can I see cascading objects before deleting a meal type?”
Tell an agent
List objects that would cascade when deleting meal type {id}.
Show cascading objects for meal type {id} with cache {cache}.
GET /api/meal-type/{id}/nulling/ List meal types that would lose a reference · Api meal type nulling list #
Ask an LLM
“Which meal types would have their reference removed if I delete one?”
“Can I see nulling objects before deleting a meal type?”
Tell an agent
List objects that would null their reference to meal type {id}.
Show nulling objects for meal type {id} with cache {cache}.
GET /api/meal-type/{id}/protecting/ List meal types that protect one from deletion · Api meal type protecting list #
Ask an LLM
“What protects a meal type from being deleted?”
“Can I see protecting objects for a meal type?”
Tell an agent
List objects that protect meal type {id} from deletion.
Show protecting objects for meal type {id} with cache {cache}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/tandoor:tandoor-meal-type-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

tandoor-meal-type-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tandoor Meal Type API
  version: 0.0.0 (2.6.13)
  x-logo:
    url: /static/assets/brand_logo.svg
    backgroundColor: '#FFFFFF'
    altText: Tandoor logo
    href: /
  description: Tandoor API Docs
tags:
- name: Meal Type
paths:
  /api/meal-type/:
    get:
      operationId: apiMealTypeList
      description: 'returns list of meal types created by the

        requesting user ordered by the order field.'
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page_size
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      tags:
      - Meal Type
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedMealTypeList'
          description: ''
      summary: Api meal type list
      x-summary-source: derived
    post:
      operationId: apiMealTypeCreate
      description: 'returns list of meal types created by the

        requesting user ordered by the order field.'
      tags:
      - Meal Type
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MealType'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MealType'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MealType'
        required: true
      security:
      - ApiKeyAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MealType'
          description: ''
      summary: Api meal type create
      x-summary-source: derived
  /api/meal-type/{id}/:
    get:
      operationId: apiMealTypeRetrieve
      description: 'returns list of meal types created by the

        requesting user ordered by the order field.'
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this meal type.
        required: true
      tags:
      - Meal Type
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MealType'
          description: ''
      summary: Api meal type retrieve
      x-summary-source: derived
    put:
      operationId: apiMealTypeUpdate
      description: 'returns list of meal types created by the

        requesting user ordered by the order field.'
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this meal type.
        required: true
      tags:
      - Meal Type
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MealType'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MealType'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MealType'
        required: true
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MealType'
          description: ''
      summary: Api meal type update
      x-summary-source: derived
    patch:
      operationId: apiMealTypePartialUpdate
      description: 'returns list of meal types created by the

        requesting user ordered by the order field.'
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this meal type.
        required: true
      tags:
      - Meal Type
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedMealType'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedMealType'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedMealType'
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MealType'
          description: ''
      summary: Api meal type partial update
      x-summary-source: derived
    delete:
      operationId: apiMealTypeDestroy
      description: 'returns list of meal types created by the

        requesting user ordered by the order field.'
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this meal type.
        required: true
      tags:
      - Meal Type
      security:
      - ApiKeyAuth: []
      responses:
        '204':
          description: No response body
      summary: Api meal type destroy
      x-summary-source: derived
  /api/meal-type/{id}/cascading/:
    get:
      operationId: apiMealTypeCascadingList
      description: get a paginated list of objects that will be cascaded (deleted) when deleting the selected object
      parameters:
      - in: query
        name: cache
        schema:
          type: boolean
          default: true
        description: If results can be cached or not
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this meal type.
        required: true
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page_size
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      tags:
      - Meal Type
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedGenericModelReferenceList'
          description: ''
      summary: Api meal type cascading list
      x-summary-source: derived
  /api/meal-type/{id}/nulling/:
    get:
      operationId: apiMealTypeNullingList
      description: get a paginated list of objects where the selected object will be removed whe its deleted
      parameters:
      - in: query
        name: cache
        schema:
          type: boolean
          default: true
        description: If results can be cached or not
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this meal type.
        required: true
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page_size
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      tags:
      - Meal Type
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedGenericModelReferenceList'
          description: ''
      summary: Api meal type nulling list
      x-summary-source: derived
  /api/meal-type/{id}/protecting/:
    get:
      operationId: apiMealTypeProtectingList
      description: get a paginated list of objects that are protecting the selected object form being deleted
      parameters:
      - in: query
        name: cache
        schema:
          type: boolean
          default: true
        description: If results can be cached or not
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this meal type.
        required: true
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page_size
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      tags:
      - Meal Type
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedGenericModelReferenceList'
          description: ''
      summary: Api meal type protecting list
      x-summary-source: derived
components:
  schemas:
    PaginatedMealTypeList:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?page=4
        previous:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?page=2
        results:
          type: array
          items:
            $ref: '#/components/schemas/MealType'
        timestamp:
          type: string
          format: date-time
    PaginatedGenericModelReferenceList:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?page=4
        previous:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?page=2
        results:
          type: array
          items:
            $ref: '#/components/schemas/GenericModelReference'
        timestamp:
          type: string
          format: date-time
    PatchedMealType:
      type: object
      description: Adds nested create feature
      properties:
        id:
          type: integer
          readOnly: false
        name:
          type: string
          maxLength: 128
        order:
          type: integer
          maximum: 2147483647
          minimum: -2147483648
        time:
          type:
          - string
          - 'null'
          format: time
        color:
          type:
          - string
          - 'null'
          maxLength: 7
        created_by:
          type: integer
          readOnly: true
    MealType:
      type: object
      description: Adds nested create feature
      properties:
        id:
          type: integer
          readOnly: false
        name:
          type: string
          maxLength: 128
        order:
          type: integer
          maximum: 2147483647
          minimum: -2147483648
        time:
          type:
          - string
          - 'null'
          format: time
        color:
          type:
          - string
          - 'null'
          maxLength: 7
        created_by:
          type: integer
          readOnly: true
      required:
      - created_by
      - name
    GenericModelReference:
      type: object
      properties:
        id:
          type: integer
          readOnly: false
        model:
          type: string
        name:
          type: string
      required:
      - model
      - name
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization