SMART GADGET HOME SARL Uploads API

The Uploads API from SMART GADGET HOME SARL — 2 operation(s) for uploads.

GitHub OpenAPI

Operations 2

POST /api/uploads/cover Upload a cover image, get a stored same-origin URL + key #
POST /api/uploads/gallery Upload up to 8 gallery images (multipart) #

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/pionra-world:pionra-world-uploads-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

pionra-world-uploads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pionra API v1 Uploads API
  version: 1.0.0
  description: 'Rate limits: session callers are limited per route (~60 requests/minute). AI API key callers share one hourly quota per key across /api/ai/publish AND AI-key writes on /api/v1/posts (create + every PATCH draw from the same bucket). Tiers: trial 50/h, standard 500/h (default), pro 5000/h - set in Reglages -> Developpeur. On exhaustion the API returns 429 RATE_LIMITED with a Retry-After header and an exact "Retry in {n}s" message.'
servers:
- url: https://pionra.world
tags:
- name: Uploads
paths:
  /api/uploads/cover:
    post:
      summary: Upload a cover image, get a stored same-origin URL + key
      description: 'Multipart upload of a single image (field "file", <=5MB, jpeg/png/webp/ gif/avif). Any aspect ratio is accepted — the server smart-crops to 16:9 (the cover-card frame), so the returned width/height reflect the crop. The image is moderated and stored; the response returns a same-origin url + storage key + dimensions. Auth: a session cookie, a Bearer session token (from /api/v1/auth/login or signup), or a Bearer AI API key. Pass the returned url/key/width/height as coverImageUrl/coverImageKey/ coverImageWidth/coverImageHeight to POST or PATCH /api/v1/posts to attach the cover directly (no re-fetch).'
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
              required:
              - file
      responses:
        '200':
          description: Uploaded
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  key:
                    type: string
                  url:
                    type: string
                    format: uri
                  width:
                    type:
                    - integer
                    - 'null'
                  height:
                    type:
                    - integer
                    - 'null'
                required:
                - ok
                - key
                - url
        '401':
          description: Unauthorized
      tags:
      - Uploads
      operationId: postApiUploadsCover
      x-operation-id-source: derived
  /api/uploads/gallery:
    post:
      summary: Upload up to 8 gallery images (multipart)
      description: Batch sibling of /api/uploads/cover. Multipart with one or more "files" (or repeated "file"), <=5MB each, up to 8. Gallery photos keep their aspect ratio (NOT cropped to 16:9). Each file is processed independently and returns a same-origin url + key + dimensions; a bad file is flagged in its item without failing the batch. Same auth as /api/uploads/cover. Feed the returned urls into images[] on POST/PATCH /api/v1/posts.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                files:
                  type: array
                  items:
                    type: string
                    format: binary
              required:
              - files
      responses:
        '200':
          description: Per-file upload results
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        ok:
                          type: boolean
                        key:
                          type: string
                        url:
                          type: string
                          format: uri
                        width:
                          type:
                          - integer
                          - 'null'
                        height:
                          type:
                          - integer
                          - 'null'
                        error:
                          type: string
                      required:
                      - ok
                required:
                - ok
                - items
        '401':
          description: Unauthorized
      tags:
      - Uploads
      operationId: postApiUploadsGallery
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: A session token from /api/v1/auth/login or signup, OR a self-serve AI API key (pionra_sk_…) from Réglages → Développeur. AI-key posts are auto-reviewed by AI moderation — clean ones publish immediately, flagged ones are rejected, and anything uncertain waits in PENDING for a human — and are limited to the key's hourly quota and allowed categories.