CDash:API: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(New page: Starting in 1.2, CDash is introducing the CDash API with a minimal function. The API is still in beta and the response code might change in the near future. = General API = The URL shoul...)
 
No edit summary
Line 6: Line 6:
The URL should be encoded accordingly to the HTTP 1.1 protocol.
The URL should be encoded accordingly to the HTTP 1.1 protocol.


= Get the build id =
= Get build id =


*URL:
*URL:
Line 22: Line 22:


   /api/getbuildid.php?project=VTK&site=singaporecrisp&stamp=20081013-0109-Experimental&name=Linux-c%2B%2B
   /api/getbuildid.php?project=VTK&site=singaporecrisp&stamp=20081013-0109-Experimental&name=Linux-c%2B%2B
= Get user id =
*URL:
 
  /api/getuserid.php?
*Parameters:
** project: name of the project
** cvsuser: name of the cvsuser
 
*Example:
  /api/getuserid.php?project=VTK&cvsuser=test

Revision as of 17:12, 22 October 2008

Starting in 1.2, CDash is introducing the CDash API with a minimal function. The API is still in beta and the response code might change in the near future.

General API

The URL should be encoded accordingly to the HTTP 1.1 protocol.

Get build id

  • URL:
 /api/getbuildid.php?
  • Parameters:
    • project: name of the project
    • site: name of the site
    • siteid: override the site name if siteid is provided (optional)
    • stamp: time stamp of the build
    • name: build name
  • Example:
 /api/getbuildid.php?project=VTK&site=singaporecrisp&stamp=20081013-0109-Experimental&name=Linux-c%2B%2B

Get user id

  • URL:
 /api/getuserid.php?
  • Parameters:
    • project: name of the project
    • cvsuser: name of the cvsuser
  • Example:
 /api/getuserid.php?project=VTK&cvsuser=test