Created
March 25, 2016 17:21
-
-
Save rnavagamuwa/8b825d4ea2408106e229 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"temporary": false, | |
"id": "workspace5bbhyr6ofzs676i6", | |
"status": "RUNNING", | |
"owner": "che", | |
"config": { | |
"environments": [ | |
{ | |
"name": "flux", | |
"machineConfigs": [ | |
{ | |
"limits": { | |
"ram": 2000 | |
}, | |
"name": "ws-machine", | |
"type": "docker", | |
"source": { | |
"location": "http://localhost:8080/ide/api/recipe/recipebwd3lkhehywxh1z8/script", | |
"type": "recipe" | |
}, | |
"dev": true, | |
"links": [ | |
{ | |
"href": "ws://localhost:8080/ide/api/ws/workspace5bbhyr6ofzs676i6", | |
"parameters": [ | |
{ | |
"required": true, | |
"name": "channel", | |
"valid": [ | |
], | |
"defaultValue": "workspace5bbhyr6ofzs676i6:flux:ws-machine" | |
} | |
], | |
"rel": "get machine logs channel", | |
"method": "GET" | |
}, | |
{ | |
"href": "ws://localhost:8080/ide/api/ws/workspace5bbhyr6ofzs676i6", | |
"parameters": [ | |
{ | |
"required": true, | |
"name": "channel", | |
"valid": [ | |
], | |
"defaultValue": "machine:status:workspace5bbhyr6ofzs676i6:ws-machine" | |
} | |
], | |
"rel": "get machine status channel", | |
"method": "GET" | |
} | |
] | |
} | |
] | |
} | |
], | |
"defaultEnv": "flux", | |
"projects": [ | |
], | |
"name": "flux", | |
"attributes": { | |
}, | |
"commands": [ | |
{ | |
"commandLine": "sudo service rabbitmq-server start && cd /home/user/flux-master/node.server && npm start", | |
"name": "flux", | |
"attributes": { | |
"previewUrl": "" | |
}, | |
"type": "custom" | |
} | |
], | |
"links": [ | |
] | |
}, | |
"links": [ | |
{ | |
"href": "http://localhost:8080/ide/api/workspace/workspace5bbhyr6ofzs676i6/runtime", | |
"parameters": [ | |
], | |
"rel": "start workspace", | |
"method": "POST", | |
"produces": "application/json" | |
}, | |
{ | |
"href": "http://localhost:8080/ide/api/workspace/workspace5bbhyr6ofzs676i6/config", | |
"parameters": [ | |
], | |
"rel": "remove workspace", | |
"method": "DELETE", | |
"produces": "application/json" | |
}, | |
{ | |
"href": "http://localhost:8080/ide/api/workspace", | |
"parameters": [ | |
], | |
"rel": "get all user workspaces", | |
"method": "GET", | |
"produces": "application/json" | |
}, | |
{ | |
"href": "http://localhost:8080/ide/api/workspace/workspace5bbhyr6ofzs676i6/snapshot", | |
"parameters": [ | |
], | |
"rel": "get workspace's snapshot", | |
"method": "GET", | |
"produces": "application/json" | |
}, | |
{ | |
"href": "http://localhost:8080/ide/flux", | |
"parameters": [ | |
], | |
"rel": "ide url", | |
"method": "GET", | |
"produces": "text/html" | |
}, | |
{ | |
"href": "ws://localhost:8080/ide/api/ws/workspace5bbhyr6ofzs676i6", | |
"parameters": [ | |
{ | |
"required": true, | |
"name": "channel", | |
"valid": [ | |
], | |
"defaultValue": "workspace:workspace5bbhyr6ofzs676i6" | |
} | |
], | |
"rel": "get workspace events channel", | |
"method": "GET" | |
}, | |
{ | |
"href": "http://localhost:8080/ide/api/workspace/workspace5bbhyr6ofzs676i6", | |
"parameters": [ | |
], | |
"rel": "self link", | |
"method": "GET", | |
"produces": "application/json" | |
}, | |
{ | |
"href": "http://localhost:8080/ide/api/workspace/workspace5bbhyr6ofzs676i6/runtime", | |
"parameters": [ | |
], | |
"rel": "get runtime workspace", | |
"method": "GET", | |
"produces": "application/json" | |
}, | |
{ | |
"href": "http://localhost:8080/ide/api/workspace/workspace5bbhyr6ofzs676i6/runtime", | |
"parameters": [ | |
], | |
"rel": "stop workspace", | |
"method": "DELETE" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment