tcms.xmlrpc.api.build module

tcms.xmlrpc.api.build.create(values)[source]
XML-RPC Build.create(values)

Create a new build object and store it in the database.

Parameters:values (dict) – Field values for tcms.management.models.Build
Returns:Serialized tcms.management.models.Build object
Return type:dict
Raises:ValueError if product or name not specified
Raises:PermissionDenied if missing management.add_build permission
tcms.xmlrpc.api.build.update(build_id, values)[source]
XML-RPC Build.update(build_id, values)

Updates the fields of the selected build.

Parameters:
Returns:

Serialized tcms.management.models.Build object

Return type:

dict

Raises:

Build.DoesNotExist if build not found

Raises:

PermissionDenied if missing management.change_build permission

tcms.xmlrpc.api.build.filter(query=None)[source]
XML-RPC Build.filter(query)

Search and return builds matching query.

Parameters:query (dict) – Field lookups for tcms.management.models.Build
Returns:List of serialized tcms.management.models.Build objects
Return type:list(dict)