Mealie Admin: Backups API

The Admin: Backups API from Mealie — 4 operation(s) for admin: backups.

Operations 6

GET /api/admin/backups Get All #
POST /api/admin/backups Create One #
GET /api/admin/backups/{file_name} Get One #
DELETE /api/admin/backups/{file_name} Delete One #
POST /api/admin/backups/upload Upload One #
POST /api/admin/backups/{file_name}/restore Import One #

Documentation

Specifications

Other Resources

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/mealie-admin-backups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mealie-admin-backups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Mealie Admin: Backups API'
  description: Mealie is a web application for managing your recipes, meal plans, and shopping lists.
  version: nightly
tags:
- name: 'Admin: Backups'
paths:
  /api/admin/backups:
    get:
      tags:
      - 'Admin: Backups'
      summary: Get All
      operationId: get_all_api_admin_backups_get
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AllBackups'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - 'Admin: Backups'
      summary: Create One
      operationId: create_one_api_admin_backups_post
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/backups/{file_name}:
    get:
      tags:
      - 'Admin: Backups'
      summary: Get One
      description: Returns a token to download a file
      operationId: get_one_api_admin_backups__file_name__get
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: file_name
        in: path
        required: true
        schema:
          type: string
          title: File Name
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileTokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - 'Admin: Backups'
      summary: Delete One
      operationId: delete_one_api_admin_backups__file_name__delete
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: file_name
        in: path
        required: true
        schema:
          type: string
          title: File Name
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/backups/upload:
    post:
      tags:
      - 'Admin: Backups'
      summary: Upload One
      description: Upload a .zip File to later be imported into Mealie
      operationId: upload_one_api_admin_backups_upload_post
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_one_api_admin_backups_upload_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/backups/{file_name}/restore:
    post:
      tags:
      - 'Admin: Backups'
      summary: Import One
      operationId: import_one_api_admin_backups__file_name__restore_post
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: file_name
        in: path
        required: true
        schema:
          type: string
          title: File Name
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    FileTokenResponse:
      properties:
        fileToken:
          type: string
          title: Filetoken
      type: object
      required:
      - fileToken
      title: FileTokenResponse
    SuccessResponse:
      properties:
        message:
          type: string
          title: Message
        error:
          type: boolean
          title: Error
          default: false
      type: object
      required:
      - message
      title: SuccessResponse
    BackupFile:
      properties:
        name:
          type: string
          title: Name
        date:
          type: string
          format: date-time
          title: Date
        size:
          type: string
          title: Size
      type: object
      required:
      - name
      - date
      - size
      title: BackupFile
    AllBackups:
      properties:
        imports:
          items:
            $ref: '#/components/schemas/BackupFile'
          type: array
          title: Imports
        templates:
          items:
            type: string
          type: array
          title: Templates
      type: object
      required:
      - imports
      - templates
      title: AllBackups
    Body_upload_one_api_admin_backups_upload_post:
      properties:
        archive:
          type: string
          contentMediaType: application/octet-stream
          title: Archive
      type: object
      required:
      - archive
      title: Body_upload_one_api_admin_backups_upload_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: /api/auth/token