JustGains Media Asset API

The MediaAsset API from JustGains — 3 operation(s) for mediaasset.

GitHub OpenAPI

Operations 6

GET /api/media-assets Get api media assets #
POST /api/media-assets Create api media assets #
GET /api/media-assets/{mediaId} Get api media assets by media id #
PUT /api/media-assets/{mediaId} Replace api media assets by media id #
DELETE /api/media-assets/{mediaId} Delete api media assets by media id #
GET /api/media-assets/{mediaId}/content Get api media assets by media id content #

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/justgains-com:justgains-com-mediaasset-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

justgains-com-mediaasset-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: JustGains Media Asset API
  version: '1.0'
security:
- Bearer: []
tags:
- name: MediaAsset
paths:
  /api/media-assets:
    get:
      tags:
      - MediaAsset
      parameters:
      - name: page
        in: query
        schema:
          type: integer
          format: int32
          default: 1
      - name: pageSize
        in: query
        schema:
          type: integer
          format: int32
          default: 20
      responses:
        '200':
          description: OK
      summary: Get api media assets
      x-summary-source: derived
      operationId: getApiMediaAssets
      x-operation-id-source: derived
    post:
      tags:
      - MediaAsset
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                mediaType:
                  type: string
                description:
                  type: string
                uploadDirectory:
                  type: string
            encoding:
              file:
                style: form
              mediaType:
                style: form
              description:
                style: form
              uploadDirectory:
                style: form
      responses:
        '200':
          description: OK
      summary: Create api media assets
      x-summary-source: derived
      operationId: postApiMediaAssets
      x-operation-id-source: derived
  /api/media-assets/{mediaId}:
    get:
      tags:
      - MediaAsset
      parameters:
      - name: mediaId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
      summary: Get api media assets by media id
      x-summary-source: derived
      operationId: getApiMediaAssetsByMediaId
      x-operation-id-source: derived
    put:
      tags:
      - MediaAsset
      parameters:
      - name: mediaId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/MediaAsset'
          application/json:
            schema:
              $ref: '#/components/schemas/MediaAsset'
          text/json:
            schema:
              $ref: '#/components/schemas/MediaAsset'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MediaAsset'
      responses:
        '200':
          description: OK
      summary: Replace api media assets by media id
      x-summary-source: derived
      operationId: putApiMediaAssetsByMediaId
      x-operation-id-source: derived
    delete:
      tags:
      - MediaAsset
      parameters:
      - name: mediaId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
      summary: Delete api media assets by media id
      x-summary-source: derived
      operationId: deleteApiMediaAssetsByMediaId
      x-operation-id-source: derived
  /api/media-assets/{mediaId}/content:
    get:
      tags:
      - MediaAsset
      parameters:
      - name: mediaId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
      summary: Get api media assets by media id content
      x-summary-source: derived
      operationId: getApiMediaAssetsByMediaIdContent
      x-operation-id-source: derived
components:
  schemas:
    MediaAsset:
      required:
      - FileName
      - FilePath
      type: object
      properties:
        CreatedAt:
          type:
          - string
          - 'null'
          format: date-time
        CreatedBy:
          type:
          - string
          - 'null'
          format: uuid
        UpdatedAt:
          type:
          - string
          - 'null'
          format: date-time
        UpdatedBy:
          type:
          - string
          - 'null'
          format: uuid
        DeletedAt:
          type:
          - string
          - 'null'
          format: date-time
        DeletedBy:
          type:
          - string
          - 'null'
          format: uuid
        MediaId:
          type: string
          format: uuid
        MediaType:
          maxLength: 255
          type:
          - string
          - 'null'
        FileName:
          maxLength: 255
          minLength: 1
          type: string
        FilePath:
          maxLength: 255
          minLength: 1
          type: string
        FileSize:
          maxLength: 255
          type:
          - string
          - 'null'
        FileFormat:
          maxLength: 255
          type:
          - string
          - 'null'
        Description:
          maxLength: 255
          type:
          - string
          - 'null'
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: http
      description: Put **_ONLY_** your JWT Bearer token on the textbox below!
      scheme: Bearer
      bearerFormat: JWT