Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:rest-api-specs [2016/10/28 18:18] neyronwiki:rest-api-specs [2016/11/06 23:16] (current) neyron
Line 1: Line 1:
-===== Howto write a REST API ===== 
-  * http://blog.mwaysolutions.com/2014/06/05/10-best-practices-for-better-restful-api/ 
-  * https://github.com/WhiteHouse/api-standards 
-  * http://blog.octo.com/en/design-a-rest-api/ 
-  * http://www.restapitutorial.com/resources.html 
-  * https://blog.philipphauer.de/restful-api-design-best-practices/ 
-  * https://stormpath.com/blog/fundamentals-rest-api-design 
-  * http://gaboesquivel.com/blog/2015/best-practices-for-designing-web-apis/ 
-  * https://geemus.gitbooks.io/http-api-design/content/en/index.html 
- 
 ===== OAR 2 Perl REST API ===== ===== OAR 2 Perl REST API =====
 ==== Jobs ==== ==== Jobs ====
Line 18: Line 8:
   * GET ''^/jobs/(\d+)(/details)*(\.yaml|\.json|\.html)*$''   * GET ''^/jobs/(\d+)(/details)*(\.yaml|\.json|\.html)*$''
   * GET ''^/jobs/(\d+)/(resources|nodes)(\.yaml|\.json|\.html)*$''   * GET ''^/jobs/(\d+)/(resources|nodes)(\.yaml|\.json|\.html)*$''
-  * GET ''^/jobs/(\d+)/extratime(\.yaml|\.json|\.html)?$'' 
-  * POST ''^/jobs/(\d+)/extratime(\.yaml|\.json|\.html)?$'' 
-    * POSTDATA 
-      * delay_next_jobs = YES | NO 
-      * duration = seconds 
   * POST ''^/jobs/(array/|)(\d+)/(checkpoints|deletions|holds|rholds|resumptions|resubmissions)+/new(\.yaml|\.json|\.html)*$''   * POST ''^/jobs/(array/|)(\d+)/(checkpoints|deletions|holds|rholds|resumptions|resubmissions)+/new(\.yaml|\.json|\.html)*$''
   * POST ''^/jobs/(\d+)(\.yaml|\.json|\.html)*$''   * POST ''^/jobs/(\d+)(\.yaml|\.json|\.html)*$''
Line 111: Line 96:
  
   * GET ''^/colmet/job/(\d+)$''   * GET ''^/colmet/job/(\d+)$''
 +
 +===== Howto write a REST API =====
 +  * http://blog.mwaysolutions.com/2014/06/05/10-best-practices-for-better-restful-api/
 +  * https://github.com/WhiteHouse/api-standards
 +  * http://blog.octo.com/en/design-a-rest-api/
 +  * http://www.restapitutorial.com/resources.html
 +  * https://blog.philipphauer.de/restful-api-design-best-practices/
 +  * https://stormpath.com/blog/fundamentals-rest-api-design
 +  * http://gaboesquivel.com/blog/2015/best-practices-for-designing-web-apis/
 +  * https://geemus.gitbooks.io/http-api-design/content/en/index.html
wiki/rest-api-specs.txt · Last modified: 2016/11/06 23:16 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki