Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Dict Str Str Str AttributeLoad NameLoad attr Str Str Dict Str Str Str AttributeLoad NameLoad attr Str NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str Str Dict Str Str Str AttributeLoad NameLoad attr Str NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str Str Dict Str Str Str NameLoad Str Str Dict Str Str NameLoad Str Dict Str Str NameLoad Str Dict Str Str NameLoad Str Dict Str Str Str Str AttributeLoad NameLoad attr Str Str Str Dict Str Str AttributeLoad NameLoad attr Str Dict Str Str NameLoad Str Assign NameStore TupleLoad Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Dict Str Str NameLoad Str Dict Str Str Str AttributeLoad NameLoad attr Str NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str Str Dict Str Str Str AttributeLoad NameLoad attr Str NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str Str Dict Str Str Str AttributeLoad NameLoad attr Str Str Dict Str Str NameLoad Str Dict Str Str Str Str AttributeLoad NameLoad attr Str Str Str Dict Str Str Str NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad vararg kwarg body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore BinOpBitAnd Call NameLoad keyword NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore BinOpBitAnd NameLoad Call NameLoad keyword NameLoad Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore Num orelse Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareNotEq SubscriptLoad NameLoad Index Num Num body Return NameLoad orelse Return TupleLoad NameLoad SubscriptLoad NameLoad Index Num Dict Str Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad Call NameLoad keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad Call NameLoad keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Pass decorator_list NameLoad Call NameLoad NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Pass decorator_list NameLoad Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Dict vararg kwarg body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad Num Dict AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A __future__ unicode_literals django.core.exceptions ObjectDoesNotExist django.db.models Q django.utils six djblets.util.decorators augment_method_from djblets.webapi.decorators webapi_login_required webapi_response_errors webapi_request_fields djblets.webapi.errors DOES_NOT_EXIST NOT_LOGGED_IN PERMISSION_DENIED reviewboard.reviews.errors PublishError reviewboard.reviews.models Review reviewboard.webapi.base WebAPIResource reviewboard.webapi.decorators webapi_check_local_site reviewboard.webapi.errors PUBLISH_ERROR reviewboard.webapi.mixins MarkdownFieldsMixin reviewboard.webapi.resources resources reviewboard.webapi.resources.user UserResource BaseReviewResource N/A MarkdownFieldsMixin WebAPIResource N/A N/A Base class for review resources.

    Provides common fields and functionality for all review resources.
     N/A model Review N/A fields N/A absolute_url body_bottom body_bottom_text_type body_top body_top_text_type extra_data id public ship_it text_type timestamp user N/A type description added_in N/A six text_type The absolute URL to the review request's page on the site. 3.0 N/A type description supports_text_types N/A six text_type The review content below the comments. True N/A type description added_in N/A MarkdownFieldsMixin TEXT_TYPES The current or forced text type for the body_bottom field. 2.0.12 N/A type description supports_text_types N/A six text_type The review content above the comments. True N/A type description added_in N/A MarkdownFieldsMixin TEXT_TYPES The current or forced text type for the body_top field. 2.0.12 N/A type description added_in dict Extra data as part of the review. This can be set by the API or extensions. 2.0 N/A type description int The numeric ID of the review. N/A type description bool Whether or not the review is currently visible to other users. N/A type description bool Whether or not the review has been marked "Ship It!" N/A type description added_in deprecated_in N/A MarkdownFieldsMixin TEXT_TYPES Formerly responsible for indicating the text type for text fields. Replaced by body_top_text_type and body_bottom_text_type in 2.0.12. 2.0 2.0.12 N/A type description N/A six text_type The date and time that the review was posted (in YYYY-MM-DD HH:MM:SS format). N/A type description UserResource The user who wrote the review. N/A allowed_methods N/A GET POST PUT DELETE N/A CREATE_UPDATE_OPTIONAL_FIELDS N/A ship_it body_top body_top_text_type body_bottom body_bottom_text_type force_text_type public text_type publish_to_submitter_only N/A type description bool Whether or not to mark the review "Ship It!" N/A type description supports_text_types N/A six text_type The review content above the comments. True N/A type description added_in N/A MarkdownFieldsMixin SAVEABLE_TEXT_TYPES The text type used for the body_top field. 2.0.12 N/A type description supports_text_types N/A six text_type The review content below the comments. True N/A type description added_in N/A MarkdownFieldsMixin SAVEABLE_TEXT_TYPES The text type used for the body_bottom field. 2.0.12 N/A type description added_in N/A MarkdownFieldsMixin TEXT_TYPES The text type, if any, to force for returned text fields. The contents will be converted to the requested type in the payload, but will not be saved as that type. 2.0.9 N/A type description bool Whether or not to make the review public. If a review is public, it cannot be made private again. N/A type description added_in deprecated_in N/A MarkdownFieldsMixin SAVEABLE_TEXT_TYPES The mode for the body_top and body_bottom text fields.

This is deprecated. Please use body_top_text_type and body_bottom_text_type instead. 2.0 2.0.12 N/A type description added_in bool If true, the review will only send an e-mail to the review request submitter. 3.0 get_queryset N/A N/A self request is_list N/A False args kwargs N/A N/A review_request N/A N/A N/A resources review_request get_object request args kwargs N/A q N/A N/A Q review_request review_request N/A Q N/A N/A self get_base_reply_to_field args kwargs N/A is_list N/A N/A q N/A q N/A Q public True N/A N/A N/A N/A N/A self model objects filter q N/A get_base_reply_to_field N/A N/A self N/A N/A N/A NotImplementedError N/A has_access_permissions N/A N/A self request review N/A args kwargs N/A N/A N/A N/A review is_accessible_by N/A request user N/A has_modify_permissions N/A N/A self request review N/A args kwargs N/A N/A N/A N/A review is_mutable_by N/A request user N/A has_delete_permissions N/A N/A self request review N/A args kwargs N/A N/A N/A N/A review is_mutable_by N/A request user N/A serialize_absolute_url_field N/A N/A self obj request N/A kwargs N/A N/A N/A N/A request build_absolute_uri N/A N/A obj get_absolute_url N/A serialize_body_top_text_type_field N/A N/A self obj N/A kwargs N/A N/A None N/A serialize_body_bottom_text_type_field N/A N/A self obj N/A kwargs N/A N/A None N/A create N/A N/A self request N/A args kwargs N/A N/A Creates a new review.

        The new review will start off as private. Only the author of the
        review (the user who is logged in and issuing this API call) will
        be able to see and interact with the review.

        Initial data for the review can be provided by passing data for
        any number of the fields. If nothing is provided, the review will
        start off as blank.

        If the user submitting this review already has a pending draft review
        on this review request, then this will update the existing draft and
        return :http:`303`. Otherwise, this will create a new draft and
        return :http:`201`. Either way, this request will return without
        a payload and with a ``Location`` header pointing to the location of
        the new draft review.
         N/A N/A N/A review_request N/A N/A N/A resources review_request get_object request args kwargs N/A N/A N/A ObjectDoesNotExist N/A N/A DOES_NOT_EXIST N/A N/A review is_new N/A N/A N/A Review objects get_or_create review_request review_request user N/A request user public False N/A N/A self get_base_reply_to_field args kwargs N/A is_new N/A N/A status_code 201 N/A N/A status_code 303 N/A result N/A N/A self _update_review request review args kwargs N/A N/A N/A N/A isinstance result tuple N/A N/A result N/A 0 200 N/A N/A result N/A N/A N/A status_code N/A result N/A 1 N/A Location N/A N/A self get_href review request args kwargs N/A webapi_check_local_site webapi_login_required N/A webapi_response_errors DOES_NOT_EXIST NOT_LOGGED_IN PERMISSION_DENIED N/A webapi_request_fields optional CREATE_UPDATE_OPTIONAL_FIELDS allow_unknown True update N/A N/A self request N/A args kwargs N/A N/A Updates the fields of an unpublished review.

        Only the owner of a review can make changes. One or more fields can
        be updated at once.

        The only special field is ``public``, which, if set to true, will
        publish the review. The review will then be made publicly visible. Once
        public, the review cannot be modified or made private again.
         N/A N/A N/A N/A N/A N/A resources review_request get_object request args kwargs N/A review N/A N/A N/A resources review get_object request args kwargs N/A N/A N/A ObjectDoesNotExist N/A N/A DOES_NOT_EXIST N/A N/A N/A self _update_review request review args kwargs N/A webapi_check_local_site webapi_login_required N/A webapi_response_errors DOES_NOT_EXIST NOT_LOGGED_IN PERMISSION_DENIED N/A webapi_request_fields optional CREATE_UPDATE_OPTIONAL_FIELDS allow_unknown True delete N/A N/A self N/A args kwargs N/A N/A Deletes the draft review.

        This only works for draft reviews, not public reviews. It will
        delete the review and all comments on it. This cannot be undone.

        Only the user who owns the draft can delete it.

        Upon deletion, this will return :http:`204`.
         N/A N/A webapi_check_local_site N/A augment_method_from WebAPIResource get N/A N/A self N/A args kwargs N/A N/A Returns information on a particular review.

        If the review is not public, then the client's logged in user
        must either be the owner of the review. Otherwise, an error will
        be returned.
         N/A N/A webapi_check_local_site N/A augment_method_from WebAPIResource _update_review N/A N/A self request review public publish_to_submitter_only extra_fields N/A None False N/A args kwargs N/A N/A Common function to update fields on a draft review. N/A N/A N/A N/A self has_modify_permissions request review N/A N/A N/A N/A self get_no_access_error request N/A N/A ship_it kwargs N/A N/A N/A review ship_it N/A kwargs N/A ship_it N/A N/A N/A self set_text_fields review body_top kwargs N/A N/A N/A self set_text_fields review body_bottom kwargs N/A N/A N/A self import_extra_data review N/A review extra_data extra_fields N/A N/A N/A review save N/A public N/A N/A N/A N/A N/A N/A review publish user N/A request user to_submitter_only publish_to_submitter_only N/A N/A N/A PublishError N/A e N/A N/A N/A N/A PUBLISH_ERROR with_message N/A N/A six text_type e N/A N/A 200 N/A N/A self item_result_key review N/A N/A