CDash:API: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 18: Line 18:
** stamp: time stamp of the build
** stamp: time stamp of the build
** name: build name
** name: build name
 
 
*Returns:
 
** <buildid>buildid</buildid>
** <buildid>not found</buildid> if no buildid found
 
*Example:
*Example:



Revision as of 17:17, 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
  • Returns:
    • <buildid>buildid</buildid>
    • <buildid>not found</buildid> if no buildid found
  • 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