HTTP Verb: GET

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

Object: Standup Report

Location: n/a

Formats: XML, JSON

Returns a list of away reports.

Params

Param Description
from Return reports after a specified date and time. Any valid date formats are acceptable, for example yyyy-mm-dd hh:mm, yyyy/mm/dd hh:mm.
to Return reports before a specified date and time. Any valid date formats are acceptable, for example yyyy-mm-dd hh:mm, yyyy/mm/dd hh:mm.

Examples

Request XML, using cURL utility:

curl -i -H "Authorization: Bearer _token" https://_portfolio_subdomain.api.assembla.com/v1/standup_reports/away.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"?>
<standup-reports type="array">
  <standup-report>
    <what-i-did>What I did</what-i-did>
    <what-i-will-do>What I will do</what-i-will-do>
    <user-id>b-MzlCHimr4PYu5bfBjDYC</user-id>
    <space-id>d6_muWDNyr4PMj5bfBjDYC</space-id>
    <roadblocks>Roadblocks go here</roadblocks>
    <created-at type="datetime">2013-06-05T04:06:13Z</created-at>
    <updated-at type="datetime">2013-06-05T04:06:13Z</updated-at>
    <filled-for type="date">2013-06-04</filled-for>
    <away-flag type="boolean">true</away-flag>
  </standup-report>
  ...
</standup-reports>

Request JSON, using cURL utility:

curl -i -H "Authorization: Bearer _token" https://_portfolio_subdomain.api.assembla.com/v1/standup_reports/away.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
...

[
  {
    "what_i_did": "What I did",
    "what_i_will_do": "What I will do",
    "user_id": "b-MzlCHimr4PYu5bfBjDYC",
    "space_id": "d6_muWDNyr4PMj5bfBjDYC",
    "roadblocks": "Roadblocks go here",
    "created_at": "2013-06-05T04:06:13Z",
    "updated_at": "2013-06-05T04:06:13Z",
    "filled_for": "2013-06-04",
    "away_flag": true
  },
  ...
]

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

Description for each field: Standup report object fields reference