Back to MASV Engine Docs

MASV Engine API Reference

v1.0.0
OAS 2.0

MASV Engine API

MASV

The MASV Engine Management API (MAPI) controls and manages a local MASV Engine instance. Use it to automate uploads, downloads, and transfer management.

Server:http://localhost:8080/api/v1

Local CLI/REST API

Client Libraries

System

​

Health checks, version info, and service management

Get system info

​

The 'about' endpoint returns the system information. The response includes version, build information etc.

Responses
  • application/json
  • application/json
Request Example for get/about
curl http://localhost:8080/api/v1/about \
  --header 'X-API-Key: YOUR_SECRET_TOKEN'
{
  "version": "string",
  "build_stamp": "string",
  "masv_host": "string",
  "backend": {
    "hash": "string",
    "build_number": "string",
    "build_time": "string"
  }
}

Check version

​

Returns the current version info and the latest version info.

Responses
  • application/json
  • application/json
Request Example for get/version_check
curl http://localhost:8080/api/v1/version_check \
  --header 'X-API-Key: YOUR_SECRET_TOKEN'
{
  "current_version": {
    "version": "string",
    "build_stamp": "string",
    "masv_host": "string"
  },
  "latest_version": {}
}

Health check

​
Responses
  • application/json
Request Example for get/health
curl http://localhost:8080/api/v1/health \
  --header 'X-API-Key: YOUR_SECRET_TOKEN'
{
  "code": 1
}

Get validation rules

​
Responses
  • application/json
  • application/json
Request Example for get/validation
curl http://localhost:8080/api/v1/validation \
  --header 'X-API-Key: YOUR_SECRET_TOKEN'
{
  "version": "string",
  "rules": {
    "user.password": {
      "additionalProperty": 1
    }
  }
}

Shutdown service

​
Responses
  • application/json
  • application/json
Request Example for post/shutdown
curl http://localhost:8080/api/v1/shutdown \
  --request POST \
  --header 'X-API-Key: YOUR_SECRET_TOKEN'
{
  "code": 1
}

Transfers (Collapsed)

​

Query and manage all transfers (uploads and downloads)

Packages (Collapsed)

​

Retrieve package information for downloads

Packages Operations

Portals (Collapsed)

​

Browse and query Portal information

Automations (Collapsed)

​

Storage Gateway (Collapsed)

​

Contacts (Collapsed)

​

User contact list

Contacts Operations

Diagnostics (Collapsed)

​

Disk speed tests and system diagnostics

Diagnostics Operations