If you try to access the REST API for projects, e.g.:
http://sourceforge.net/rest/p/[projectname]
this mostly works. However, some projects do not return results.
Specifically, any project with a '.' (period) in their name will not return results, e.g.:
Project page: https://sourceforge.net/projects/razr-m.motorola/
Broken API page: http://sourceforge.net/rest/p/razr-m.motorola
Also some other random projects, such as this one:
Project page: https://sourceforge.net/projects/echaracter/
Broken API page: http://sourceforge.net/rest/p/echaracter
Projects with a period in their name on the summary page, will have a slightly different URL. Drop the "/p/" and replace it with the portion of the name after the period. In this case it is: http://sourceforge.net/rest/motorola/razr-m
Created https://sourceforge.net/p/allura/tickets/7507/ for the error on the 'echaracter' project.
Thanks for the clarification regarding the period and for opening the new ticket for that specific project.
I actually have a list of 2445 projects (without periods in their name) that I am unable to obtain their JSON for. I suspect many are probably related to the ticket you already filed, but can't quantify how many.
I'm attaching that list here. Should I also attach to that new ticket or maybe make another new ticket?
I've checked many from that list and most of those work fine for me, e.g. http://sourceforge.net/rest/p/abdusdinhring/ A few 404 because the project (no longer) exists. If you can narrow down to 500 errors, I can check some of those for any other types of error.
Apologies, it seems you are right my list is out of date. I just crawled that list and here is the list of what is currently failing. 409 projects.
I spot-checked a number of these, and all the 500 errors I get are from the screenshot issue ticketed at https://sourceforge.net/p/allura/tickets/7507/ There are also some 404s for projects that were removed.
Sounds great, thank you!