CDash:API: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
Line 38: | Line 38: | ||
** cvsuser: name of the cvsuser | ** cvsuser: name of the cvsuser | ||
*Returns: | |||
** <userid>userid</userid> | |||
** <userid>not found</userid> if no user found | |||
*Example: | *Example: | ||
/api/getuserid.php?project=VTK&cvsuser=test | /api/getuserid.php?project=VTK&cvsuser=test |
Revision as of 17:18, 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
- Returns:
- <userid>userid</userid>
- <userid>not found</userid> if no user found
- Example:
/api/getuserid.php?project=VTK&cvsuser=test