The Mesh Asset Server is an MIT asset server to side-load asset blobs for LoRa Mesh clients.
By default, assets are stored for 30 days.
The server will accept any asset blob up to 10MB. The assets are treated as opaque blobs, so it is your responsbility to handle encryption/decryption and storing the content type of the asset in the blob itself.
For security, MAS does not track the asset type. Everything is treated as an opaque blob.
Official Endpoint
Upload a blob to the server. The server will return a short hash of the blob.
POST / HTTP/1.1
Host: mas.meshenvy.org
Content-Type: application/octet-stream
<blob-data>HTTP/1.1 200 OK
Content-Type: application/json
{
"hash": "9cdc4d"
}Fetch a blob from the server.
GET /9cdc4d HTTP/1.1
Host: mas.meshenvy.orgHTTP/1.1 200 OK
Content-Type: application/octet-stream
<blob-data>