Metabolon Shared File API

The SharedFile API from Metabolon — 12 operation(s) for sharedfile.

Operations 12

GET /api/v1/shared-files/{type}/download Downloads the current shared file for a specific type with proper mime-type and filename from database #
GET /api/v2/shared-files/{type}/download Downloads the current shared file for a specific type with proper mime-type and filename from database #
POST /api/v1/admin/users/shared-files/{type}/upload Uploads a new file for a specific type and version #
DELETE /api/v1/admin/users/shared-files/{type}/{fileVersion} Deletes a file for a specific type and version #
GET /api/v1/admin/users/shared-files/{type}/download/{fileVersion} Downloads a file for a specific type and version #
GET /api/v1/admin/users/shared-files/{type}/get-current-version Gets the current version for a shared file type #
POST /api/v1/admin/users/shared-files/{type}/set-current-version/{fileVersion} Sets the current active version for a shared file type #
POST /api/v2/admin/users/shared-files/{type}/upload Uploads a new file for a specific type and version #
DELETE /api/v2/admin/users/shared-files/{type}/{fileVersion} Deletes a file for a specific type and version #
GET /api/v2/admin/users/shared-files/{type}/download/{fileVersion} Downloads a file for a specific type and version #
GET /api/v2/admin/users/shared-files/{type}/get-current-version Gets the current version for a shared file type #
POST /api/v2/admin/users/shared-files/{type}/set-current-version/{fileVersion} Sets the current active version for a shared file type #

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/metabolon-sharedfile-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

metabolon-sharedfile-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PortalApi Shared File API
  version: '1.0'
servers:
- url: https://portal-api.prod.metabolon.com
tags:
- name: SharedFile
paths:
  /api/v1/shared-files/{type}/download:
    get:
      tags:
      - SharedFile
      summary: Downloads the current shared file for a specific type with proper mime-type and filename from database
      operationId: SharedFile_DownloadCurrentFile
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      responses:
        '200':
          description: File downloaded successfully
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /api/v2/shared-files/{type}/download:
    get:
      tags:
      - SharedFile
      summary: Downloads the current shared file for a specific type with proper mime-type and filename from database
      operationId: SharedFile_DownloadCurrentFile2
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      responses:
        '200':
          description: File downloaded successfully
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /api/v1/admin/users/shared-files/{type}/upload:
    post:
      tags:
      - SharedFile
      summary: Uploads a new file for a specific type and version
      operationId: SharedFile_UploadFile
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                version:
                  type:
                  - string
                  - 'null'
                ContentType:
                  type:
                  - string
                  - 'null'
                ContentDisposition:
                  type:
                  - string
                  - 'null'
                Headers:
                  type:
                  - array
                  - 'null'
                  items: {}
                Length:
                  type: integer
                  format: int64
                Name:
                  type:
                  - string
                  - 'null'
                FileName:
                  type:
                  - string
                  - 'null'
      responses:
        '200':
          description: File uploaded successfully
  /api/v1/admin/users/shared-files/{type}/{fileVersion}:
    delete:
      tags:
      - SharedFile
      summary: Deletes a file for a specific type and version
      operationId: SharedFile_DeleteFile
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      - name: fileVersion
        in: path
        required: true
        description: The version to delete
        schema:
          type: string
        x-position: 2
      responses:
        '200':
          description: File deleted successfully
  /api/v1/admin/users/shared-files/{type}/download/{fileVersion}:
    get:
      tags:
      - SharedFile
      summary: Downloads a file for a specific type and version
      operationId: SharedFile_DownloadFile
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      - name: fileVersion
        in: path
        required: true
        description: The version to download
        schema:
          type: string
        x-position: 2
      responses:
        '200':
          description: File downloaded successfully
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /api/v1/admin/users/shared-files/{type}/get-current-version:
    get:
      tags:
      - SharedFile
      summary: Gets the current version for a shared file type
      operationId: SharedFile_GetCurrentVersion
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      responses:
        '200':
          description: Current version returned
          content:
            application/json:
              schema: {}
  /api/v1/admin/users/shared-files/{type}/set-current-version/{fileVersion}:
    post:
      tags:
      - SharedFile
      summary: Sets the current active version for a shared file type
      operationId: SharedFile_SetCurrentVersion
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      - name: fileVersion
        in: path
        required: true
        description: The version to set as active
        schema:
          type: string
        x-position: 2
      responses:
        '200':
          description: Shared file version set as active successfully
          content:
            application/json:
              schema: {}
  /api/v2/admin/users/shared-files/{type}/upload:
    post:
      tags:
      - SharedFile
      summary: Uploads a new file for a specific type and version
      operationId: SharedFile_UploadFile2
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                version:
                  type:
                  - string
                  - 'null'
                ContentType:
                  type:
                  - string
                  - 'null'
                ContentDisposition:
                  type:
                  - string
                  - 'null'
                Headers:
                  type:
                  - array
                  - 'null'
                  items: {}
                Length:
                  type: integer
                  format: int64
                Name:
                  type:
                  - string
                  - 'null'
                FileName:
                  type:
                  - string
                  - 'null'
      responses:
        '200':
          description: File uploaded successfully
  /api/v2/admin/users/shared-files/{type}/{fileVersion}:
    delete:
      tags:
      - SharedFile
      summary: Deletes a file for a specific type and version
      operationId: SharedFile_DeleteFile2
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      - name: fileVersion
        in: path
        required: true
        description: The version to delete
        schema:
          type: string
        x-position: 2
      responses:
        '200':
          description: File deleted successfully
  /api/v2/admin/users/shared-files/{type}/download/{fileVersion}:
    get:
      tags:
      - SharedFile
      summary: Downloads a file for a specific type and version
      operationId: SharedFile_DownloadFile2
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      - name: fileVersion
        in: path
        required: true
        description: The version to download
        schema:
          type: string
        x-position: 2
      responses:
        '200':
          description: File downloaded successfully
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /api/v2/admin/users/shared-files/{type}/get-current-version:
    get:
      tags:
      - SharedFile
      summary: Gets the current version for a shared file type
      operationId: SharedFile_GetCurrentVersion2
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      responses:
        '200':
          description: Current version returned
          content:
            application/json:
              schema: {}
  /api/v2/admin/users/shared-files/{type}/set-current-version/{fileVersion}:
    post:
      tags:
      - SharedFile
      summary: Sets the current active version for a shared file type
      operationId: SharedFile_SetCurrentVersion2
      parameters:
      - name: type
        in: path
        required: true
        description: The file type
        schema:
          $ref: '#/components/schemas/SharedFileType'
        x-position: 1
      - name: fileVersion
        in: path
        required: true
        description: The version to set as active
        schema:
          type: string
        x-position: 2
      responses:
        '200':
          description: Shared file version set as active successfully
          content:
            application/json:
              schema: {}
components:
  schemas:
    SharedFileType:
      type: string
      description: ''
      x-enumNames:
      - FairUsePolicy
      enum:
      - FairUsePolicy
x-generator: NSwag v14.6.2.0 (NJsonSchema v11.5.2.0 (Newtonsoft.Json v13.0.0.0))