Bugzilla:BzAPI:Search: Difference between revisions

Jump to navigation Jump to search
Line 30: Line 30:
==Bug ID==
==Bug ID==


Specify '''id'''=<comma-separated list>, and an '''id_mode''' of either ''include'' or ''exclude''. You may instead pass a separate '''id''' parameter for each bug ID if you wish. Note that this field does not support aliases.
Specify '''id'''=<comma-separated list>, and an '''id_mode''' of either ''include'' or ''exclude'' (defaults to ''include''). You may instead pass a separate '''id''' parameter for each bug ID if you wish. Note that this field does not support aliases.


If you specify only IDs as your search criteria, you will get back full [[Bugzilla:REST_API:Objects#Bug|Bug]] objects instead of the limited number of fields normally provided on the search interface. This is a shortcut to allow the retrieval of full bug information for multiple bugs without having to make multiple requests.
If you specify only IDs as your search criteria, you will get back full [[Bugzilla:REST_API:Objects#Bug|Bug]] objects instead of the limited number of fields normally provided on the search interface. This is a shortcut to allow the retrieval of full bug information for multiple bugs without having to make multiple requests.
Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925

edits

Navigation menu