Bugzilla:BzAPI: Difference between revisions

Jump to navigation Jump to search
m
fix field param typo (it is _fields not _field)
m (fix field param typo (it is _fields not _field))
Line 86: Line 86:
== Field Control ==
== Field Control ==


For those calls which return significant data (i.e. GETs), each call returns a number of fields by default. Often, it's all available fields, but for some calls (e.g. bug lists, individual bugs) it's fewer than that. You can control exactly what fields you get using the '''include_field''' and '''exclude_field''' parameters. These take a comma-separated list of field names, and work as follows:
For those calls which return significant data (i.e. GETs), each call returns a number of fields by default. Often, it's all available fields, but for some calls (e.g. bug lists, individual bugs) it's fewer than that. You can control exactly what fields you get using the '''include_fields''' and '''exclude_fields''' parameters. These take a comma-separated list of field names, and work as follows:


* If you specify some include_fields, you select just those fields
* If you specify some include_fields, you select just those fields
1

edit

Navigation menu