Jump to >

reviewboard.webapi.server_info

get_server_info(request=None)[source]

Returns server information for use in the API.

This is used for the root resource and for the deprecated server info resource.

register_webapi_capabilities(capabilities_id, caps)[source]

Registers a set of web API capabilities.

These capabilities will appear in the dictionary of available capabilities with the ID as their key.

A capabilties_id attribute passed in, and can only be registerd once. A KeyError will be thrown if attempting to register a second time.

unregister_webapi_capabilities(capabilities_id)[source]

Unregisters a previously registered set of web API capabilities.