Interact with Changes

You are viewing an old version (v. 3) of this page.
The latest version is v. 27, last edited on Jun 13, 2011 (view differences | )
<< View previous version | view page history | view next version >>

Since QuickBuild 4.0, you can retrieve changes via RESTful APIs. The base URI for changes RESTfull APIs is:
/rest/changes

List all supported APIs

URI Response Type Params
/rest/changes/help   text/plain

Get the data version of changes

URI Response Type Params
/rest/changes/version text/plain  

Get the commit stats

URI Response Type Params
/rest/changes/stats/{configuration_id} application/xml
  • configuration_id
    Id of the configuration.
  • build_id
    The build id you want.
  • from_build
    Specify the from build when finding changes in a build range.
  • to_build
    Specify the to build when finding changes in a build range.
  • from_date
    Specify the from date when finding changes in a build range.
  • to_date
    Specify the to date when finding changes in a build range.
  • date_pattern
    Specify the date pattern when query by a date range, by default, the pattern is yyyyMMdd.
  • repository
    Get the changes only in a specific repository.
  • committer
    Get the changes only committed by the specified committer

Retrieve the commits

URI Response Type Params
/rest/changes/{configuration_id} application/xml
  • configuration_id
    The id of configuration.
  • build_id
    The id of a specific build.
  • from_build
    Specify the from build when finding changes in a build range, must be specified with to_build.
  • to_build
    Specify the to build when finding changes in a build range, must be specified with from_build.
  • date_pattern
    Specify the date pattern when query by a date range, by default, the pattern is yyyyMMdd.
  • from_date
    Specify the from date when finding changes in a build range.
  • to_date
    Specify the to date when finding changes in a build range.
  • repository
    Get the changes only in a specific repository.
  • committer
    Get the changes only committed by the specified committer.
  • offset
    Specify the first record when iterate the records.
  • limit
    Specify the number of total records you want to retrieve.
  • asc
    Boolean type, specify the order by commit date ascendent or descendent, by default, it is false.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.