Menu

#282 Allura REST API is missing some projects

implemented
nobody
None
2014-07-10
2014-06-27
Robert Dyer
No

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

Discussion

  • Dave Brondsema

    Dave Brondsema - 2014-06-30
    • status: open --> in-progress
     
  • Dave Brondsema

    Dave Brondsema - 2014-06-30

    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.

     
  • Robert Dyer

    Robert Dyer - 2014-06-30

    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?

     
    • Dave Brondsema

      Dave Brondsema - 2014-06-30

      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.

       
  • Robert Dyer

    Robert Dyer - 2014-06-30

    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.

     
    • Dave Brondsema

      Dave Brondsema - 2014-06-30

      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.

       
  • Robert Dyer

    Robert Dyer - 2014-06-30

    Sounds great, thank you!

     
  • Dave Brondsema

    Dave Brondsema - 2014-07-10
    • status: in-progress --> implemented
     

Log in to post a comment.

MongoDB Logo MongoDB