Émile Blog internal API

The Blog internal API from Émile — 1 operation(s) for blog internal.

GitHub OpenAPI

Operations 1

POST /internal/blog/render Render Blog Article #

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/emile-wine:emile-wine-blog-internal-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

emile-wine-blog-internal-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Émile Blog internal API
  description: '# Émile API


    Public API for the Émile wine cellar app.


    ## Authentication


    Two methods are supported:


    **1. API Key** (recommended for external clients: MCP servers, scripts, ChatGPT custom connectors)


    Send your key in the `X-API-Key` header OR as `Authorization: Bearer emile_live_...`.


    Generate keys from your iOS app: **Profil → Paramètres → Clés API**.


    **2. Supabase JWT** (used by the official iOS app — internal)


    Send `Authorization: Bearer `.


    ## Rate Limits


    All endpoints are rate-limited per user. See each endpoint''s documentation for specific limits.

    On exceeded: HTTP 429 with `Retry-After` header and `X-RateLimit-*` informational headers.


    | Endpoint | Limit |

    |---|---|

    | `POST /scan` | 10/min, 50/day |

    | `POST /me/scan:batch` | 5/hour |

    | `POST /recommendations` | 20/min, 100/day |

    | `POST /cellars/{id}/bottles` | 60/min, 500/day |

    | `POST /me/bottles:batch` | 10/hour, 50/day |

    | `POST /me/keys` | 5/hour, 20/day |'
  version: '1.0'
tags:
- name: Blog internal
paths:
  /internal/blog/render:
    post:
      tags:
      - Blog internal
      summary: Render Blog Article
      description: Returns {html, file_path, blog_url, slug}.
      operationId: render_blog_article_internal_blog_render_post
      parameters:
      - name: x-internal-secret
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Internal-Secret
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RenderRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Render Blog Article Internal Blog Render Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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
    RenderRequest:
      properties:
        markdown:
          type: string
          minLength: 50
          title: Markdown
          description: The article markdown body, exactly as written into the GDoc.
        language:
          type: string
          pattern: ^(fr|en)$
          title: Language
        slug:
          type: string
          minLength: 1
          title: Slug
          description: kebab-case slug for the URL/file path.
        pillar:
          type: string
          minLength: 1
          title: Pillar
          description: 'One of: vins, viticulture, cave, sommellerie, accord, appellations.'
        target_keyword:
          type: string
          minLength: 1
          title: Target Keyword
          description: The SEO keyword the article targets.
        date_iso:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}$
          title: Date Iso
          description: YYYY-MM-DD publication date.
        description:
          type: string
          maxLength: 320
          minLength: 20
          title: Description
          description: Meta description (~155 chars ideal).
        equivalent_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Equivalent Url
          description: Full URL of the article in the other language, for hreflang cross-linking.
        equivalent_lang:
          anyOf:
          - type: string
            pattern: ^(fr|en)$
          - type: 'null'
          title: Equivalent Lang
      type: object
      required:
      - markdown
      - language
      - slug
      - pillar
      - target_keyword
      - date_iso
      - description
      title: RenderRequest
      description: 'Inputs to /internal/blog/render. n8n maps Notion properties + the

        GDoc markdown body straight onto this schema.'
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer