Tandoor Recipes Supermarket Category API

The Supermarket Category API from Tandoor Recipes — 6 operation(s) for supermarket category.

GitHub OpenAPI

Operations 10

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/supermarket-category/ List supermarket categories · Api supermarket category list #
Ask an LLM
“Which categories are available for organizing supermarket products?”
“Can I search categories by name?”
Tell an agent
List all supermarket categories.
Find categories matching {query}.
POST /api/supermarket-category/ Create a supermarket category · Api supermarket category create #
Ask an LLM
“How do I add a new category to organize products?”
“Can I set an open data slug when creating a category?”
Tell an agent
Create a category named {name}.
Add category {name} described as {description}.
GET /api/supermarket-category/{id}/ Get a supermarket category · Api supermarket category retrieve #
Ask an LLM
“What are the details of one supermarket category?”
“Can I look up a category by its ID?”
Tell an agent
Show supermarket category {id}.
Get the name and description of category {id}.
PUT /api/supermarket-category/{id}/ Replace a supermarket category · Api supermarket category update #
Ask an LLM
“How do I overwrite a category's name and description?”
“Can I change a category's open data slug in full?”
Tell an agent
Replace category {id} with name {name}.
Overwrite category {id} with name {name} and slug {open_data_slug}.
PATCH /api/supermarket-category/{id}/ Rename or relabel a supermarket category · Api supermarket category partial update #
Ask an LLM
“Can I rename a category without touching its other fields?”
“How do I change just a category's description?”
Tell an agent
Rename category {id} to {name}.
Set the description of category {id} to {description}.
DELETE /api/supermarket-category/{id}/ Delete a supermarket category · Api supermarket category destroy #
Ask an LLM
“How do I delete a category?”
“Can I remove a category by its ID?”
Tell an agent destructive · confirm first
Delete supermarket category {id}.
Remove category {id} from the product catalog.
GET /api/supermarket-category/{id}/cascading/ List categories that would be deleted with this one · Api supermarket category cascading list #
Ask an LLM
“Which categories would be deleted if I remove this category?”
“What cascading deletions would happen for a category?”
Tell an agent
List categories that would cascade delete with {id}.
Show the cascade effect of deleting category {id}.
PUT /api/supermarket-category/{id}/merge/{target}/ Merge a category into another · Api supermarket category merge update #
Ask an LLM
“How do I merge one category into a target category?”
“Can I combine two categories under a single name?”
Tell an agent
Merge category {id} into category {target} as {name}.
Combine category {id} into {target} with name {name}.
GET /api/supermarket-category/{id}/nulling/ List categories that would lose a reference · Api supermarket category nulling list #
Ask an LLM
“Which categories would lose a reference if I delete this one?”
“What nulling references exist for a category?”
Tell an agent
List categories that would nullify their reference to {id}.
Show the nulling effect of deleting category {id}.
GET /api/supermarket-category/{id}/protecting/ List categories that protect this one · Api supermarket category protecting list #
Ask an LLM
“Which categories protect this one from being deleted?”
“What protecting references exist for a category?”
Tell an agent
List categories that protect {id} from deletion.
Show the protecting references of category {id}.

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-supermarket-category-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-supermarket-category-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tandoor Supermarket Category 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: Supermarket Category
paths:
  /api/supermarket-category/:
    get:
      operationId: apiSupermarketCategoryList
      description: logs request counts to redis cache total/per user/
      parameters:
      - in: query
        name: limit
        schema:
          type: string
        description: limit number of entries to return
      - 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
      - in: query
        name: query
        schema:
          type: string
        description: lookup if query string is contained within the name, case insensitive
      - in: query
        name: random
        schema:
          type: string
        description: randomly orders entries (only works together with limit)
      - in: query
        name: updated_at
        schema:
          type: string
        description: if model has an updated_at timestamp, filter only models updated at or after datetime
      tags:
      - Supermarket Category
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedSupermarketCategoryList'
          description: ''
      summary: Api supermarket category list
      x-summary-source: derived
    post:
      operationId: apiSupermarketCategoryCreate
      description: logs request counts to redis cache total/per user/
      tags:
      - Supermarket Category
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupermarketCategory'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SupermarketCategory'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/SupermarketCategory'
        required: true
      security:
      - ApiKeyAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupermarketCategory'
          description: ''
      summary: Api supermarket category create
      x-summary-source: derived
  /api/supermarket-category/{id}/:
    get:
      operationId: apiSupermarketCategoryRetrieve
      description: logs request counts to redis cache total/per user/
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this supermarket category.
        required: true
      tags:
      - Supermarket Category
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupermarketCategory'
          description: ''
      summary: Api supermarket category retrieve
      x-summary-source: derived
    put:
      operationId: apiSupermarketCategoryUpdate
      description: logs request counts to redis cache total/per user/
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this supermarket category.
        required: true
      tags:
      - Supermarket Category
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupermarketCategory'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SupermarketCategory'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/SupermarketCategory'
        required: true
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupermarketCategory'
          description: ''
      summary: Api supermarket category update
      x-summary-source: derived
    patch:
      operationId: apiSupermarketCategoryPartialUpdate
      description: logs request counts to redis cache total/per user/
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this supermarket category.
        required: true
      tags:
      - Supermarket Category
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedSupermarketCategory'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedSupermarketCategory'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedSupermarketCategory'
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupermarketCategory'
          description: ''
      summary: Api supermarket category partial update
      x-summary-source: derived
    delete:
      operationId: apiSupermarketCategoryDestroy
      description: logs request counts to redis cache total/per user/
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this supermarket category.
        required: true
      tags:
      - Supermarket Category
      security:
      - ApiKeyAuth: []
      responses:
        '204':
          description: No response body
      summary: Api supermarket category destroy
      x-summary-source: derived
  /api/supermarket-category/{id}/cascading/:
    get:
      operationId: apiSupermarketCategoryCascadingList
      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 supermarket category.
        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:
      - Supermarket Category
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedGenericModelReferenceList'
          description: ''
      summary: Api supermarket category cascading list
      x-summary-source: derived
  /api/supermarket-category/{id}/merge/{target}/:
    put:
      operationId: apiSupermarketCategoryMergeUpdate
      description: logs request counts to redis cache total/per user/
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this supermarket category.
        required: true
      - in: path
        name: target
        schema:
          type: integer
        description: The ID of the {obj} you want to merge with.
        required: true
      tags:
      - Supermarket Category
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupermarketCategory'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SupermarketCategory'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/SupermarketCategory'
        required: true
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupermarketCategory'
          description: ''
      summary: Api supermarket category merge update
      x-summary-source: derived
  /api/supermarket-category/{id}/nulling/:
    get:
      operationId: apiSupermarketCategoryNullingList
      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 supermarket category.
        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:
      - Supermarket Category
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedGenericModelReferenceList'
          description: ''
      summary: Api supermarket category nulling list
      x-summary-source: derived
  /api/supermarket-category/{id}/protecting/:
    get:
      operationId: apiSupermarketCategoryProtectingList
      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 supermarket category.
        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:
      - Supermarket Category
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedGenericModelReferenceList'
          description: ''
      summary: Api supermarket category protecting list
      x-summary-source: derived
components:
  schemas:
    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
    SupermarketCategory:
      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
          minLength: 1
        description:
          type:
          - string
          - 'null'
        open_data_slug:
          type:
          - string
          - 'null'
          maxLength: 128
      required:
      - name
    PatchedSupermarketCategory:
      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
          minLength: 1
        description:
          type:
          - string
          - 'null'
        open_data_slug:
          type:
          - string
          - 'null'
          maxLength: 128
    PaginatedSupermarketCategoryList:
      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/SupermarketCategory'
        timestamp:
          type: string
          format: date-time
    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