POST http://localhost:1323/v1/apps Authorization: Token ABCD Content-type: application/json { "name": "test_1234", "ssh_port": 46502, "http_port": 46503, "image": "docker.io/rosti/runtime:2020.04-1", "cpu": 100, "memory": 128 } ### PUT http://localhost:1323/v1/apps/test_1234 Content-type: application/json { "ssh_port": 46500, "http_port": 46501, "memory": 128 } ### # Start PUT http://localhost:1323/v1/apps/test_4567/start Content-type: application/json ### # Stop PUT http://localhost:1323/v1/apps/test_1234/stop Content-type: application/json ### # Rebuild PUT http://localhost:1323/v1/apps/test_1234/rebuild Content-type: application/json Authorization: Token fee60059-f554-4c35-b44f-74b6be377095 ### # Delete of app DELETE http://localhost:1323/v1/apps/test_4567 Content-type: application/json ### # Processes GET http://localhost:1323/v1/apps/test_1234/processes ### # Get GET http://localhost:1323/v1/apps/test_1234 Content-type: application/json ### # List of all apps GET http://localhost:1323/v1/apps Content-type: application/json Authorization: Token fee60059-f554-4c35-b44f-74b6be377095 ### POST http://localhost:1323/v1/apps/test_1234/labels Content-type: application/json { "Value": "userid:cx" } ### DELETE http://localhost:1323/v1/apps/test_1234/labels Content-type: application/json { "Value": "userid:cx" } ### # Set password PUT http://localhost:1323/v1/apps/test_1234/keys Content-type: application/json testrr