CDash:API: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 36: Line 36:
*Parameters:
*Parameters:
** project: name of the project
** project: name of the project
** cvsuser: name of the cvsuser
** author: name of the cvsuser/svnuser
    
    
*Returns:
*Returns:

Revision as of 15:16, 23 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
    • author: name of the cvsuser/svnuser
  • Returns:
    • <userid>userid</userid>
    • <userid>not found</userid> if no user found
  • Example:
 /api/getuserid.php?project=VTK&cvsuser=test