Last updated 1 month ago
Was this helpful?
Upload a distributed app to the server
The tar archive containing the application code, configuration, and dependencies to be uploaded to the server.
POST /v1/dev/apps HTTP/1.1 Host: api.bytenite.com Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 19 { "data": "Ynl0ZXM=" }
A successful response.
{ "app": { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "video-transcoding", "version": "1.0", "owner": "b7aac91d-7e62-4923-898f-5c6d9ea48927", "status": "active", "deviceRequirements": { "minCpu": 1, "minMemory": 2 }, "createdAt": "2025-04-19T01:55:20.895Z", "updatedAt": "2025-04-19T01:55:20.895Z", "platform": "docker", "hash": "Plv5qqtm1jPtm8Brq4jMj9u/zSJMQV85fl62UNxltcM=", "link": "text", "platformConfig": { "container": "python:latest" }, "entrypoint": "main.py", "revision": "text", "description": "text" } }