Closed
Bug 1440227
Opened 6 years ago
Closed 5 years ago
Add count capabilities for list values of a bug in rest api
Categories
(Bugzilla :: WebService, enhancement)
Tracking
()
RESOLVED
DUPLICATE
of bug 1546717
People
(Reporter: simon.scholz, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20180208175058 Steps to reproduce: I used the rest api of Bugzilla for comments: http://bugzilla.readthedocs.io/en/latest/api/core/v1/comment.html#get-comments Actual results: I get the whole list of comments Expected results: I'd like to have an API to simply get the comments count, because I need this for statistics and I am currently not interested in the contents of the comments. Would it be possible to provide additional rest endpoints for simply counting comments and also attachments and other list values?
Updated•5 years ago
|
Assignee: general → webservice
Component: Bugzilla-General → WebService
Comment 1•5 years ago
|
||
It has already been added to BMO, will be shipped with Bugzilla 6.0.
https://bugzilla.mozilla.org/rest/bug/1440227?include_fields=comment_count
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Comment 2•5 years ago
|
||
Hmm, # of attachments is not implemented yet. I can do it in Bug 1546717 which is adding several other numbers.
Updated•5 years ago
|
Status: REOPENED → RESOLVED
Closed: 5 years ago → 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•