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_inspecifies the version that first deprecates this call.force_error_http_statusforces errors to use the specified HTTP status code.default_api_formatspecifies the default api format (json or xml) if one isn’t provided.