Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925
edits
Line 78: | Line 78: | ||
* Examples: [https://api-dev.bugzilla.mozilla.org/latest/bug/35 bug 35], [https://api-dev.bugzilla.mozilla.org/latest/bug/350001?include_fields=_default,comments,history,attachments.data bug 350001 with all comments, attachment data and history]. | * Examples: [https://api-dev.bugzilla.mozilla.org/latest/bug/35 bug 35], [https://api-dev.bugzilla.mozilla.org/latest/bug/350001?include_fields=_default,comments,history,attachments.data bug 350001 with all comments, attachment data and history]. | ||
* If you want to retrieve multiple [[Bugzilla:REST_API:Objects#Bug|Bug]]s at once, use the Search interface | * If you want to retrieve multiple [[Bugzilla:REST_API:Objects#Bug|Bug]]s at once, use the Search interface. If it doesn't have the fields you want by default, specify <tt>include_fields=_all</tt>. This will behind the scenes fetch full [[Bugzilla:REST_API:Objects#Bug|Bug]] objects for you. For best performance, specify only bug IDs as your search criteria. | ||
=== Update bug (/bug/<id> PUT) === | === Update bug (/bug/<id> PUT) === |