Could someone help me figure out why I can't access the Rally Lookback Api? I can access the webservice just fine.
For example, when I type this into the browser:
https://rally1.rallydev.com/analytics/v2.0/service/rally/workspace/12345/artifact/3563764.js
(using my server name, the correct workspace and a valid ObjectID), I get the HTTP 404 not found error. Is there a specific reason for this? I've tried several different types of queries, and nothing works.
Thanks!
Lookback API works a bit different from WSAPI - there aren't artifact-ObjectID specific endpoints such as the above. Instead, you would want to do a find query:
GET:
https://rally1.rallydev.com/analytics/v2.0/service/rally/workspace/12345678910/artifact/snapshot/query.js?find={"ObjectID":12345678920}&fields=["_ValidFrom","_ValidTo","ObjectID","State"]&start=0&pagesize=1
Alternatively, using a POST:
POST against:
URI: https://rally1.rallydev.com/analytics/v2.0/service/rally/workspace/12345678910/artifact/snapshot/query.js
POST data:
{
"find": { "ObjectID": 12345678920},
"fields": ["_ValidFrom", "_ValidTo", "ObjectID", "State"],
"start": 0,
"pagesize": 1
}
There are some good examples of this, along with a query "scratchpad" that you can use to test queries in your browser, in the LookbackAPI docs here:
https://rally1.rallydev.com/analytics/doc/#/manual
A Rally login is required to use query samples.