CDash:API

From KitwarePublic
Revision as of 12:12, 22 October 2008 by Jjomier (talk | contribs)
Jump to navigationJump to search

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