HTTP Verb: GET

Available statuses: 200 OK, 404 Not Found

Object: SpaceTool

Location: n/a

Formats: XML, JSON

Params

No options available

Examples

Request XML, using cURL utility:

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

Response:

HTTP/1.1 200 OK
Server: nginx/0.8.55
Date: Fri, 07 Sep 2012 13:08:42 GMT
Content-Type: application/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Status: 200
...

<?xml version="1.0" encoding="UTF-8"?>
<space-tools type="array">
<space-tool>
  <type>SubversionTool</type>
  <tool-id type="integer">12</tool-id>
  <active type="boolean">true</active>
  <created-at type="datetime">2011-09-09T09:43:07Z</created-at>
  <team-permissions nil="true"></team-permissions>
  <url nil="true"></url>
  <space-id>b89TL8MYWr4id7adbNA33N</space-id>
  <number type="integer">1</number>
  <public-permissions nil="true"></public-permissions>
  <parent-id nil="true"></parent-id>
  <name>subversion</name>
  <menu-name>Source/SVN</menu-name>
  <watcher-permissions nil="true"></watcher-permissions>
  <settings>
    <state type="symbol">failed</state>
    <vcs-url nil="true"></vcs-url>
  </settings>
  <id>aFsIka2SGr4j8fadbNA33N</id>
</space-tool>

Request JSON, using cURL utility:

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

Response:

HTTP/1.1 200 OK
Server: nginx/0.8.55
Date: Fri, 07 Sep 2012 13:12:30 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Status: 200
...

{
  "type":"SubversionTool",
  "tool_id":12,
  "active":true,
  "created_at":"2011-09-09T09:43:07Z",
  "team_permissions":null,
  "url":null,
  "space_id":"b89TL8MYWr4id7adbNA33N",
  "number":1,
  "public_permissions":null,
  "parent_id":null,
  "name":"subversion",
  "menu_name":"Source/SVN",
  "watcher_permissions":null,
  "settings":{"state":"failed","vcs_url":null},
  "id":"aFsIka2SGr4j8fadbNA33N"
},

JSON is formatted here for readability, in a real response JSON body is inline with no indentation.

Description for each field: space tool object fields reference