Changes between Version 2 and Version 3 of DownscalingPortal/RESTfulAPI

Mar 20, 2014 6:24:09 PM (8 years ago)



  • DownscalingPortal/RESTfulAPI

    v2 v3  
    11== The Downscaling Portal RESTful API ==
    3 Nowadays, RESTful Services...
     3Nowadays, RESTful services become more popular due to the implementation simplicity and the easy way to get information quickly. In our case, The Downscaling Portal has an useful but difficult user interface which does not allow people of different ranges of knowledge to interact in the whole downscaling process.
     4For this reason, we have launched the Downscaling Portal RESTul API (DPRA) which is available here
     5This API can be accessed by people registered in the Downscaling Portal and has two types of use:
     6-       Portals which have users interested in the downscaling process and have services to manage its users (add, list, remove). The portal has an user manager who controls everything.
     7-       End-users registered into the Downscaling Portal which are interested in downscale without using the UI (User Interface).
     8The authentication through the RESTful API is token based. As we explains in the main page ( and the first steps are very simple:
     91.      If you don’t have an account, create one here:
     102.      Now you can forget the UI. Just login to the RESTful API through curl or your preferred tool. Note: This manual explains how to call the services with curl.
     113.      {{{curl -i -X POST -d username=your_username -d password=your_password}}}
     124.      Done! You will receive your token valid for 2 days in the headers.