Clousd Files and media API

The Files and media API from Clousd — 6 operation(s) for files and media.

GitHub OpenAPI

Operations 7

PUT /devices/{name}/files Put a file on the phone (push) - body is the file, path under /sdcard/ or… #
POST /devices/{name}/media Media from the library on the phone as if shot with it (push), remove what we… #
GET /media The Library - photos, videos, documents and apps with their ids and folders #
POST /media Upload a file - multipart file= (photo 25 MB, video 200 MB, document 50 MB, apk… #
POST /media/folders Create a Library folder - {name} #
POST /media/move Move Library files into a folder - {ids, folder} (folder 0 = none) #
POST /media/send Copy library files into phones' galleries #

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/clousd-com:clousd-com-files-and-media-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

clousd-com-files-and-media-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clousd Com Files and media API
  version: '1.0'
  description: 'Operations tagged Files and media across 2 of this provider''s published API definitions: clousd-com-openapi-v1.yaml, clousd-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.clousd.com/v1
security:
- bearer: []
tags:
- name: Files and media
paths:
  /devices/{name}/files:
    parameters:
    - $ref: '#/components/parameters/name'
    put:
      summary: Put a file on the phone (push) - body is the file, path under /sdcard/ or…
      parameters:
      - name: path
        in: query
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/octet-stream:
            schema:
              type: string
              format: binary
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  data:
                    type: object
                    properties:
                      rc:
                        type: integer
                      err:
                        type: string
                      bytes:
                        type: integer
        '403':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
      tags:
      - Files and media
      operationId: putDevicesByNameFiles
      x-operation-id-source: derived
    servers:
    - url: https://api.clousd.com/v1
  /devices/{name}/media:
    parameters:
    - $ref: '#/components/parameters/name'
    post:
      summary: Media from the library on the phone as if shot with it (push), remove what we…
      description: push writes the file to /sdcard// under a gallery-style name of the phone's brand, re-encoded for this phone (EXIF make/model, capture time in the exit time zone, exit-city GPS when geo is true) and registers it in MediaStore. Media is uploaded from the dashboard (POST /api/media/upload) and referenced by id and owner.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - action
              properties:
                action:
                  type: string
                  enum:
                  - push
                  - clean
                  - list
                id:
                  type: string
                owner:
                  type: string
                geo:
                  type: boolean
                  default: true
                unique:
                  type: boolean
                  default: true
                dir:
                  type: string
                  default: DCIM/Camera
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  path:
                    type: string
                  name:
                    type: string
                  kind:
                    type: string
                  unique:
                    type: boolean
                  geo:
                    type: boolean
                  taken_at:
                    type: string
                  make:
                    type: string
                  model:
                    type: string
                  removed:
                    type: integer
                  pushed:
                    type: array
                    items:
                      type: object
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
      tags:
      - Files and media
      operationId: postDevicesByNameMedia
      x-operation-id-source: derived
    servers:
    - url: https://api.clousd.com/v1
  /media:
    get:
      summary: The Library - photos, videos, documents and apps with their ids and folders
      parameters:
      - name: kind
        in: query
        schema:
          type: string
          enum:
          - image
          - video
          - doc
          - apk
      - name: folder
        in: query
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
      tags:
      - Files and media
      operationId: getMedia
      x-operation-id-source: derived
    post:
      summary: Upload a file - multipart file= (photo 25 MB, video 200 MB, document 50 MB, apk…
      description: Pass the id in POST /runs files to put it on the phone for a task, or copy it to phones at once with /media/send. Every APK is checked on upload (a real Android app, 64-bit ARM code, no root or system-modification tools) and answers 422 apk_rejected with the reason otherwise.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
                folder:
                  type: integer
          application/json:
            schema:
              type: object
              required:
              - name
              - data_b64
              properties:
                name:
                  type: string
                  example: beach.jpg
                data_b64:
                  type: string
                folder:
                  type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
      tags:
      - Files and media
      operationId: postMedia
      x-operation-id-source: derived
    servers:
    - url: https://api.clousd.com/v1
  /media/folders:
    post:
      summary: Create a Library folder - {name}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                  maxLength: 40
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
      tags:
      - Files and media
      operationId: postMediaFolders
      x-operation-id-source: derived
    servers:
    - url: https://api.clousd.com/v1
  /media/move:
    post:
      summary: Move Library files into a folder - {ids, folder} (folder 0 = none)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ids:
                  type: array
                  items:
                    type: integer
                folder:
                  type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
      tags:
      - Files and media
      operationId: postMediaMove
      x-operation-id-source: derived
    servers:
    - url: https://api.clousd.com/v1
  /media/send:
    post:
      summary: Copy library files into phones' galleries
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ids:
                  type: array
                  items:
                    type: integer
                devices:
                  type: array
                  items:
                    type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
      tags:
      - Files and media
      operationId: postMediaSend
      x-operation-id-source: derived
    servers:
    - url: https://api.clousd.com/v1
components:
  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              message:
                type: string
  parameters:
    name:
      name: name
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
x-refined-from:
- clousd-com-openapi-v1.yaml
- clousd-com-openapi.yml