Tandoor Recipes Open Data Property API

The Open Data Property API from Tandoor Recipes — 2 operation(s) for open data property.

GitHub OpenAPI

Operations 6

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/open-data-property/ List open data properties · Api open data property list #
Ask an LLM
“Which food properties are published in the open data feed?”
“Can I page through all open data properties?”
Tell an agent
List open data properties.
Show page {page} of open data properties, {page_size} per page.
POST /api/open-data-property/ Create an open data property · Api open data property create #
Ask an LLM
“How do I add a new food property to the open data feed?”
“What fields are required to create an open data property?”
Tell an agent
Create open data property {name} with slug {slug}, version {version}, created by {created_by}.
Add food property {name} (slug {slug}, version {version}, by {created_by}) with FDC ID {fdc_id}.
GET /api/open-data-property/{id}/ Get an open data property · Api open data property retrieve #
Ask an LLM
“What unit and FDC ID does a particular open data property have?”
“Can I look up one food property by its ID?”
Tell an agent
Get open data property {id}.
Show the unit and FDC ID of food property {id}.
PUT /api/open-data-property/{id}/ Replace an open data property · Api open data property update #
Ask an LLM
“How do I overwrite an existing food property record in the open data feed?”
“Can I change the name and unit of an open data property in one update?”
Tell an agent
Replace open data property {id} with name {name}, slug {slug}, version {version}, created by {created_by}.
Overwrite food property {id} with unit {unit} and comment {comment}.
PATCH /api/open-data-property/{id}/ Edit an open data property · Api open data property partial update #
Ask an LLM
“Can I change just the unit of a food property without resending everything?”
“How do I add a comment to an existing open data property?”
Tell an agent
Set the unit of open data property {id} to {unit}.
Add comment {comment} to food property {id}.
DELETE /api/open-data-property/{id}/ Delete an open data property · Api open data property destroy #
Ask an LLM
“How do I remove a food property from the open data feed?”
“Can I delete an open data property by its ID?”
Tell an agent destructive · confirm first
Delete open data property {id}.
Remove food property {id} from the open data feed.

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-open-data-property-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-open-data-property-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tandoor Open Data Property 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: Open Data Property
paths:
  /api/open-data-property/:
    get:
      operationId: apiOpenDataPropertyList
      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:
      - Open Data Property
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedOpenDataPropertyList'
          description: ''
      summary: Api open data property list
      x-summary-source: derived
    post:
      operationId: apiOpenDataPropertyCreate
      tags:
      - Open Data Property
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OpenDataProperty'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/OpenDataProperty'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/OpenDataProperty'
        required: true
      security:
      - ApiKeyAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenDataProperty'
          description: ''
      summary: Api open data property create
      x-summary-source: derived
  /api/open-data-property/{id}/:
    get:
      operationId: apiOpenDataPropertyRetrieve
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this open data property.
        required: true
      tags:
      - Open Data Property
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenDataProperty'
          description: ''
      summary: Api open data property retrieve
      x-summary-source: derived
    put:
      operationId: apiOpenDataPropertyUpdate
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this open data property.
        required: true
      tags:
      - Open Data Property
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OpenDataProperty'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/OpenDataProperty'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/OpenDataProperty'
        required: true
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenDataProperty'
          description: ''
      summary: Api open data property update
      x-summary-source: derived
    patch:
      operationId: apiOpenDataPropertyPartialUpdate
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this open data property.
        required: true
      tags:
      - Open Data Property
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedOpenDataProperty'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedOpenDataProperty'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedOpenDataProperty'
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenDataProperty'
          description: ''
      summary: Api open data property partial update
      x-summary-source: derived
    delete:
      operationId: apiOpenDataPropertyDestroy
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this open data property.
        required: true
      tags:
      - Open Data Property
      security:
      - ApiKeyAuth: []
      responses:
        '204':
          description: No response body
      summary: Api open data property destroy
      x-summary-source: derived
components:
  schemas:
    PatchedOpenDataProperty:
      type: object
      description: "Moves `UniqueValidator`'s from the validation stage to the save stage.\nIt solves the problem with nested validation for unique fields on update.\n\nIf you want more details, you can read related issues and articles:\nhttps://github.com/beda-software/drf-writable-nested/issues/1\nhttp://www.django-rest-framework.org/api-guide/validators/#updating-nested-serializers\n\nExample of usage:\n```\n    class Child(models.Model):\n    field = models.CharField(unique=True)\n\n\nclass Parent(models.Model):\n    child = models.ForeignKey('Child')\n\n\nclass ChildSerializer(UniqueFieldsMixin, serializers.ModelSerializer):\n    class Meta:\n        model = Child\n\n\nclass ParentSerializer(NestedUpdateMixin, serializers.ModelSerializer):\n    child = ChildSerializer()\n\n    class Meta:\n        model = Parent\n```\n\nNote: `UniqueFieldsMixin` must be applied only on the serializer\nwhich has unique fields.\n\nNote: When you are using both mixins\n(`UniqueFieldsMixin` and `NestedCreateMixin` or `NestedUpdateMixin`)\nyou should put `UniqueFieldsMixin` ahead."
      properties:
        id:
          type: integer
          readOnly: false
        version:
          $ref: '#/components/schemas/OpenDataVersion'
        slug:
          type: string
          maxLength: 128
        name:
          type: string
          maxLength: 128
        unit:
          type: string
          maxLength: 16
        fdc_id:
          type:
          - integer
          - 'null'
          maximum: 2147483647
          minimum: -2147483648
        comment:
          type: string
        created_by:
          type: string
          readOnly: true
    OpenDataProperty:
      type: object
      description: "Moves `UniqueValidator`'s from the validation stage to the save stage.\nIt solves the problem with nested validation for unique fields on update.\n\nIf you want more details, you can read related issues and articles:\nhttps://github.com/beda-software/drf-writable-nested/issues/1\nhttp://www.django-rest-framework.org/api-guide/validators/#updating-nested-serializers\n\nExample of usage:\n```\n    class Child(models.Model):\n    field = models.CharField(unique=True)\n\n\nclass Parent(models.Model):\n    child = models.ForeignKey('Child')\n\n\nclass ChildSerializer(UniqueFieldsMixin, serializers.ModelSerializer):\n    class Meta:\n        model = Child\n\n\nclass ParentSerializer(NestedUpdateMixin, serializers.ModelSerializer):\n    child = ChildSerializer()\n\n    class Meta:\n        model = Parent\n```\n\nNote: `UniqueFieldsMixin` must be applied only on the serializer\nwhich has unique fields.\n\nNote: When you are using both mixins\n(`UniqueFieldsMixin` and `NestedCreateMixin` or `NestedUpdateMixin`)\nyou should put `UniqueFieldsMixin` ahead."
      properties:
        id:
          type: integer
          readOnly: false
        version:
          $ref: '#/components/schemas/OpenDataVersion'
        slug:
          type: string
          maxLength: 128
        name:
          type: string
          maxLength: 128
        unit:
          type: string
          maxLength: 16
        fdc_id:
          type:
          - integer
          - 'null'
          maximum: 2147483647
          minimum: -2147483648
        comment:
          type: string
        created_by:
          type: string
          readOnly: true
      required:
      - created_by
      - name
      - slug
      - version
    PaginatedOpenDataPropertyList:
      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/OpenDataProperty'
        timestamp:
          type: string
          format: date-time
    OpenDataVersion:
      type: object
      description: "Moves `UniqueValidator`'s from the validation stage to the save stage.\nIt solves the problem with nested validation for unique fields on update.\n\nIf you want more details, you can read related issues and articles:\nhttps://github.com/beda-software/drf-writable-nested/issues/1\nhttp://www.django-rest-framework.org/api-guide/validators/#updating-nested-serializers\n\nExample of usage:\n```\n    class Child(models.Model):\n    field = models.CharField(unique=True)\n\n\nclass Parent(models.Model):\n    child = models.ForeignKey('Child')\n\n\nclass ChildSerializer(UniqueFieldsMixin, serializers.ModelSerializer):\n    class Meta:\n        model = Child\n\n\nclass ParentSerializer(NestedUpdateMixin, serializers.ModelSerializer):\n    child = ChildSerializer()\n\n    class Meta:\n        model = Parent\n```\n\nNote: `UniqueFieldsMixin` must be applied only on the serializer\nwhich has unique fields.\n\nNote: When you are using both mixins\n(`UniqueFieldsMixin` and `NestedCreateMixin` or `NestedUpdateMixin`)\nyou should put `UniqueFieldsMixin` ahead."
      properties:
        id:
          type: integer
          readOnly: false
        name:
          type: string
          maxLength: 128
        code:
          type: string
          maxLength: 16
        comment:
          type: string
      required:
      - code
      - name
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization