GET /v1/spaces/:space_id/ssh/launches/:id/output
HTTP Verb: GET
Available statuses: 200 OK, 404 Not Found
Object: SSHActionLaunch
Location: n/a
Formats: XML, JSON
Returns a SSH action launch object. Output is complete.
Params
No options available
Examples
Request XML, using cURL utility:
curl -i -H "Authorization: Bearer _token" https://api.assembla.com/v1/spaces/_space_id/ssh/launches/_id/output.xml
Response:
HTTP/1.1 200 OK
Date: Tue, 21 May 2013 18:22:30 GMT
Server: Apache
Status: 200
Vary: Accept-Encoding
Content-Length: 427
Content-Type: application/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
<ssh-tool-action-launch>
<id type="integer">1</id>
<success type="boolean">true</success>
<command>command</command>
<started-at type="datetime">2013-05-21T21:12:14+03:00</started-at>
<ended-at type="datetime">2013-05-21T21:13:19+03:00</ended-at>
<action-id type="integer">1</action-id>
<server-id type="integer">1</server-id>
<output>output</output>
</ssh-tool-action-launch>
Request JSON, using cURL utility:
curl -i -H "Authorization: Bearer _token" https://api.assembla.com/v1/spaces/_space_id/ssh/launches/_id/output.json
Response:
HTTP/1.1 200 OK
Date: Tue, 21 May 2013 18:24:05 GMT
Server: Apache
Status: 200
Content-Length: 164
Content-Type: application/json; charset=utf-8
{
"id":1,
"success":true,
"command":"command",
"started_at":"2013-05-21T21:12:14+03:00",
"ended_at":"2013-05-21T21:13:19+03:00",
"action_id":1,
"server_id":1,
"output":""
}
JSON is formatted here for readability, in a real response JSON body is inline with no indentation.
Description for each field: SSH Action Launch object fields reference