Softkiln Uploads API

The uploads API from Softkiln — 3 operation(s) for uploads.

GitHub OpenAPI

Operations 4

POST /api/apps/{name}/images Upload Image #
GET /api/apps/{name}/images Download Image #
POST /api/apps/{name}/patches Upload Patch #
POST /api/apps/{name}/signin-ui Upload Signin Ui #

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/softkiln-com:softkiln-com-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

softkiln-com-uploads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: App Manager Uploads API
  version: 0.1.0
tags:
- name: Uploads
paths:
  /api/apps/{name}/images:
    post:
      tags:
      - Uploads
      summary: Upload Image
      description: 'Upload a binary image and commit it to ``develop``.


        Mirrors the snapshot flow: the image is written into a fresh isolated clone

        of ``develop`` and committed+pushed in one atomic step — it never touches the

        shared per-app workspace, so concurrent uploads/edits can''t collide and the

        tree can''t be left on the wrong branch. Path comes from the ticket (ticket

        flow) or the ``path`` form field (bearer flow); the commit message comes from

        the ticket or the ``message`` form field, defaulting to ``"Add image

        "``. Rejects non-image extensions and images over 5 MiB. Path safety

        (no ``..`` / ``.git/`` / absolute) is enforced by the workspace writer.'
      operationId: upload_image_api_apps__name__images_post
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: ticket
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ticket
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_image_api_apps__name__images_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Uploads
      summary: Download Image
      description: 'Download a binary image from the app''s ``develop`` branch.


        Path comes from the ticket (ticket flow) or the ``path`` query param (bearer

        flow). Reads the committed develop content from a fresh isolated clone (the

        same isolation as upload — no shared workspace). 404 if the file isn''t present.'
      operationId: download_image_api_apps__name__images_get
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: path
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Path
      - name: ticket
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ticket
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/apps/{name}/patches:
    post:
      tags:
      - Uploads
      summary: Upload Patch
      description: 'Upload a unified diff as a file and commit it to ``develop``.


        The ticket (``prepare_patch_upload``) carries the commit message; the bearer

        flow takes it from the ``message`` form field. Rejects a file over

        ``MAX_PATCH_BYTES`` and anything that is not UTF-8 text.'
      operationId: upload_patch_api_apps__name__patches_post
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: ticket
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ticket
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_patch_api_apps__name__patches_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/apps/{name}/signin-ui:
    post:
      tags:
      - Uploads
      summary: Upload Signin Ui
      description: 'Upload a custom sign-in UI zip and switch the app''s sign-in page to it.


        The ticket comes from ``prepare_signin_ui_upload``; the bearer flow needs

        the same per-app admin role that tool does. The role is checked again at

        redemption, not only when the ticket was minted: the upload replaces every

        visitor''s sign-in page, so a role lost in the ten minutes between counts.'
      operationId: upload_signin_ui_api_apps__name__signin_ui_post
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: ticket
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ticket
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_signin_ui_api_apps__name__signin_ui_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_upload_patch_api_apps__name__patches_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
      type: object
      required:
      - file
      title: Body_upload_patch_api_apps__name__patches_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_upload_signin_ui_api_apps__name__signin_ui_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
      type: object
      required:
      - file
      title: Body_upload_signin_ui_api_apps__name__signin_ui_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
    Body_upload_image_api_apps__name__images_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
        path:
          anyOf:
          - type: string
          - type: 'null'
          title: Path
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
      type: object
      required:
      - file
      title: Body_upload_image_api_apps__name__images_post