HTTP Verb: GET

Available statuses: 200 OK, 204 No Content, 404 Not Found

Object: SSHActionLaunch

Location: n/a

Formats: XML, JSON

Returns a list of SSH launches in a particular space’s SSH tool. Outputs are truncated to 15 lines.

Examples

Request XML, using cURL utility:

curl -i -H "Authorization: Bearer _token" https://api.assembla.com/v1/spaces/_space_id/ssh/launches.xml

Response:

HTTP/1.1 200 OK
Date: Tue, 21 May 2013 18:11:18 GMT
Server: Apache
Status: 200
Vary: Accept-Encoding
Content-Length: 447
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<ssh-tool-action-launches type="array">
  <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>
  ...
</ssh-tool-action-launches>

Request JSON, using cURL utility:

curl -i -H "Authorization: Bearer _token" https://api.assembla.com/v1/spaces/_space_id/ssh/launches.json

Response:

HTTP/1.1 200 OK
Date: Tue, 21 May 2013 18:14:29 GMT
Server: Apache
Status: 200
Content-Length: 166
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":"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