Bugzilla::Webservice::Product - The Product API
This part of the Bugzilla API allows you to list the available Products and get information about them.
See Bugzilla::WebService for a description of what STABLE, UNSTABLE, and EXPERIMENTAL mean, and for more information about error codes.
get_selectable_products
UNSTABLEReturns a list of the ids of the products the user can search on.
A hash containing one item,
ids
,
that contains an array of product ids.
get_enterable_products
UNSTABLEReturns a list of the ids of the products the user can enter bugs against.
A hash containing one item,
ids
,
that contains an array of product ids.
get_accessible_products
UNSTABLEReturns a list of the ids of the products the user can search or enter bugs against.
A hash containing one item,
ids
,
that contains an array of product ids.
get_products
UNSTABLEReturns a list of information about the products passed to it.
A hash containing one item,
ids
,
that is an array of product ids.
A hash containing one item,
products
,
that is an array of hashes.
Each hash describes a product,
and has the following items: id
,
name
,
description
,
and internals
.
The id
item is the id of the product.
The name
item is the name of the product.
The description
is the description of the product.
Finally,
the internals
is an internal representation of the product.
Note, that if the user tries to access a product that is not in the list of accessible products for the user, or a product that does not exist, that is silently ignored, and no information about that product is returned.