Query

Supported by Redmine starting from version 1.3

Manager

All operations on the Query resource are provided by its manager. To get access to it you have to call redmine.query where redmine is a configured redmine object. See the Configuration about how to configure redmine object.

Create methods

Not supported by Redmine

Read methods

get

Added in version 2.1.0.

redminelib.managers.ResourceManager.get(resource_id)

Returns single Query resource from Redmine by its id.

Parameters:

resource_id (int) – (required). Id of the query.

Returns:

Resource object

>>> query = redmine.query.get(654)
>>> query
<redminelib.resources.Query #654 "Done">

all

redminelib.managers.ResourceManager.all(**params)

Returns all Query resources from Redmine.

Parameters:
  • limit (int) – (optional). How much resources to return.

  • offset (int) – (optional). Starting from what resource to return the other resources.

Returns:

ResourceSet object

>>> queries = redmine.query.all(offset=10, limit=100)
>>> queries
<redminelib.resultsets.ResourceSet object with Query resources>

filter

Not supported by Redmine

Update methods

Not supported by Redmine

Delete methods

Not supported by Redmine

Export

Not supported by Redmine