Jump to >

This documentation covers the in-development release of Review Board. You can see the latest stable docs or all previous versions.


webapi_deprecated(deprecated_in, force_error_http_status=None, default_api_format=None, encoders=[])[source]

Marks an API handler as deprecated.

deprecated_in specifies the version that first deprecates this call.

force_error_http_status forces errors to use the specified HTTP status code.

default_api_format specifies the default api format (json or xml) if one isn’t provided.