Last updated 1 day ago
Success
10485760
const response = await fetch('http://localhost/v2/apps', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "appKey": { "name": "tech.flecs.app-1", "version": "1.2.3.4-f1" }, "status": "not installed", "desired": "not installed", "installedSize": 10485760, "multiInstance": false, "editors": [ { "name": "text", "port": 0, "supportsReverseProxy": true } ] } ]
App to uninstall
Accepted
17
const response = await fetch('http://localhost/v2/apps/{app}', { method: 'DELETE', headers: {}, }); const data = await response.json();
{ "jobId": 17 }
const response = await fetch('http://localhost/v2/apps/sideload', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "manifest": "text" }), }); const data = await response.json();
App to query
const response = await fetch('http://localhost/v2/apps/{app}', { method: 'GET', headers: {}, }); const data = await response.json();
const response = await fetch('http://localhost/v2/apps/install', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "appKey": { "name": "tech.flecs.app-1", "version": "1.2.3.4-f1" } }), }); const data = await response.json();