Last updated 2 days ago
Was this helpful?
Upload a distributed app to the server
/apps
The tar archive
curl -L \ --request POST \ --url 'https://api.bytenite.com/v1/dev/apps' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "data": "text" }'
{ "app": { "id": "video-transcoding", "platform": "docker", "version": "text", "hash": "Plv5qqtm1jPtm8Brq4jMj9u/zSJMQV85fl62UNxltcM=", "platformConfig": { "container": "python:latest" }, "createdAt": "2025-03-12T00:30:38.511Z", "updatedAt": "2025-03-12T00:30:38.511Z", "owner": "b7aac91d-7e62-4923-898f-5c6d9ea48927", "entrypoint": "main.py", "deviceRequirements": { "minCpu": 1, "minMemory": 2 }, "status": "active" } }