reviewboard.webapi.decorators¶
- 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.