<<

Bugzilla::Extension::Ember::Webservice

NAME

Bugzilla::Extension::Ember::Webservice - The BMO Ember WebServices API

DESCRIPTION

This module contains API methods that are useful to user's of the Bugzilla Ember based UI.

METHODS

See Bugzilla::WebService for a description of how parameters are passed, and what STABLE, UNSTABLE, and EXPERIMENTAL mean.

create

UNSTABLE

Description

This method returns the necessary information for the Bugzilla Ember UI to generate a bug creation page.

Params

You pass a field called product that must be a valid Bugzilla product name.

product (string) - The Bugzilla product name.
Returns
Errors
History
Added in BMO Bugzilla 4.2.

show

UNSTABLE

Description

This method returns the necessary information for the Bugzilla Ember UI to properly generate a page to edit current bugs.

Params

You pass a field called id that is the current bug id.

id (int) - A bug id.
Returns
Errors
History
Added in BMO Bugzilla 4.0.

search

UNSTABLE

Description

A wrapper around Bugzilla's search method which also returns the total of bugs matching a query, even if the limit and offset parameters are supplied.

Params

As per Bugzilla::WebService::Bug::search()

Returns
Errors
History

bug

UNSTABLE

Description

This method returns just the current bug values, comments, and attachments without all of the field information.

Params

You pass a field called id that is a valid bug ids.

id (integer) - A valid bug id
last_updated - (dateTime) An optional timestamp that includes only fields, attachments, or comments that have been changed or added since.
Returns
Errors
History
Added in BMO Bugzilla 4.2.

get_attachments

UNSTABLE

Description

This method returns the current attachment data and flag types for a given bug id or attachment id.

Params

You pass a field called id that is a valid bug id or an attachment_id which is a valid attachment id.

id (integer) - A valid bug id.
attachment_id (integer) - A valid attachment id.
Returns
Errors
History
Added in BMO Bugzilla 4.2.

<<