API Url (or combination thereof) to get information on "Dashboard" page

I wonder is there an API url (or some combination of the other available URLs) that could give me the information that is available on the Dashboard page? Namely what deployments are on each environment for all projects? I would like to be able to make a JS call to the API to populate our overall dev team dashboard view (which has bugs, stories, builds and deployments all on one page).


Our team pulls similar details via /api/projects/{project-id}/most-recent-deployment/

I was trying to play with that particular endpoint this morning (lovely REST api in that it tries to be “self describing”), but keep getting “Bad Request”

This is the URL I’m using…


which was given to me on


Hi Peter, which version of Octopus are you using? A previous release had broken that link but it has since been fixed.


Hi Paul,

“Application”: “Octopus”,
“Version”: “”,
“ApiVersion”: “2.0.0”,
“OperatingSystem”: “Microsoft Windows NT 6.0.6002 Service Pack 2”,
“Links”: {
“Self”: “/api”,
“Environments”: “/api/environments”,
“Machines”: “/api/machines”,
“Projects”: “/api/projects”,
“Feeds”: “/api/feeds”,
“Tasks”: “/api/tasks”

Additional information, the OS is actually Server 2008. IIS version 7.

Hi Peter,

Are any errors logged in the Windows event viewer when you get the bad request response?


There’s nothing in the standard Application or System log. The IIS logs have the following:

2012-11-09 13:41:07 GET /api/projects/projects-1/most-recent-deployment/ - 8080 EZETOP\pmcevoy Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.11+(KHTML,+like+Gecko)+Chrome/23.0.1271.64+Safari/537.11 400 0 0 960

Just to bump this again, I notice that the recent deployment URL ends with a slash - all other URLs don’t have a slash. However, even requesting without the slash, I get the 400 error. (interestingly any other misspelled URL gives a 404, so it would seem that it is hitting the app…)

Hi Peter,

Can you go to the Configuration->Storage tab in the Octopus web portal, then open the RavenDB admin UI? Once you are in, go to the Indexes tab, and click on the DeploymentsRecent index to see the results? Would you be able to mail me a screenshot of what you see there (paul@octopusdeploy.com)?


Sorry, Paul, I’m conscious that this is still pending. Tragically, our build server died the other day and our tech ops people have been trying to re-animate it. Will probably be later today before I can get this to you…

I’ve upgraded to and the “most-recent-deployment” API call now works beautifully.

Thanks Paul