Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
Description
=================================== ------- COIN API ENDPOINTS ------- =================================== GET /workItems PARAMS { max: int # OPTIONAL, max count of responses to return. Default=100 (Maximum=1000) repo: str/list[str] # OPTIONAL branch: str/list[str] # OPTIONAL type: str/list[str] # possible types [provision, build, test] before: ISO 8601 datetime # OPTIONAL, Exclusive. Default=[current datetime] after: ISO 8601 datetime # OPTIONAL, Inclusive. Default=[current datetime - 10days] status: str/list[str] # OPTIONAL [running, done, failed, cancelled] { RESPONSE { more: bool # True if more results than the requested max count exist next: str # OPTIONAL, URL-encoded query string to GET /tasks which auto-populates 'before' with the last returned task 'started_on' datetime. This effectively allows iterative calling of the /tasks endpoint until one or less results are returned. workitems: datetime-sorted list [WorkItemDetails] }
Attachments
Issue Links
- depends on
-
COIN-819 Implement GET tasks, taskDetails and workItemDetails APIs
- Closed
For Gerrit Dashboard: COIN-821 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
419839,10 | Add workItems API | master | qtqa/tqtc-coin-ci | Status: MERGED | +2 | 0 |