Pushmanager API - Yelp/pushmanager GitHub Wiki

GET /api/request?id=NUMBER

Returns a JSON object describing the specified request.

GET /api/push?id=NUMBER

Returns a JSON object describing the specified push.

GET /api/pushdata?id=NUMBER

Returns all the information on a push in JSON. This is the same data that is shown on the push page.

GET /api/pushes[?rpp=NUMBER&before=NUMBER] Returns a JSON list of objects describing pushes.

GET /api/pushcontents?id=NUMBER

Returns a JSON list containing objects for each request in the specified push.

GET /api/pushbyrequest?id=NUMBER

Returns a JSON object of push containing a request id.

GET /api/pushitems?push_id=NUMBER

Returns a JSON list containing requests selected in a push.

GET /api/requestsearch?FILTERS

Returns a JSON list containing objects for each request that matches the specified filters, up to the specified limit (1-1000, defaults to 100). At least one filter must be specified from the following list:

tag=STRING
  Matches requests that have the specified tag. Specifying this parameter multiple times will do an intersection of all specified tags. 
mbefore=TIMESTAMP
  Matches requests that were last modified before the specified UNIX timestamp.
mafter=TIMESTAMP
  Matches requests that were last modified after the specified UNIX timestamp.
cbefore=TIMESTAMP
  Matches requests that were created before the specified UNIX timestamp.
cafter=TIMESTAMP
  Matches requests that were created after the specified UNIX timestamp.
state=STRING
  Matches requests currently in the specified state (possibilities: requested, added, staged, verified, blessed, live, discarded). Specifying this parameter multiple times will do a union of all specified states.
user=STRING
  Matches requests owned by the specified user. Specifying this parameter multiple times will do a union of all specified users.
repo=STRING
  Matches requests coming from the specified repository. Specifying this parameter multiple times will do a union of all specified repositories.
branch=STRING
  Matches requests with the specified branch name. Specifying this parameter multiple times will do a union of all specified branches.
revision=SHA
  Matches requests with the specified revision (note: must be the full 40-character SHA). Specifying this parameter multiple times will do a union of all specified revisions.
review=NUMBER
  Matches requests with the specified Review Board review id. Specifying this parameter multiple times will do a union of all specified reviews.
title=STRING
  Matches requests which contain the specified substring in their title. Specifying this parameter multiple times will do an intersection of all specified substring matches.

GET /api/userlist

Returns a JSON list of users who used PushManager for a request at least once.