Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore TupleLoad Str Assign NameStore Str 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 TryExcept body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad Num Dict AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ExceptHandler type NameLoad body Return NameLoad decorator_list NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad
N/A __future__ unicode_literals django.core.exceptions ObjectDoesNotExist django.utils six djblets.webapi.decorators webapi_response_errors djblets.webapi.errors DOES_NOT_EXIST reviewboard.scmtools.errors SCMError reviewboard.webapi.base WebAPIResource reviewboard.webapi.decorators webapi_check_login_required webapi_check_local_site reviewboard.webapi.errors REPO_INFO_ERROR REPO_NOT_IMPLEMENTED reviewboard.webapi.resources resources RepositoryBranchesResource N/A WebAPIResource N/A N/A Provides information on the branches in a repository.

    Returns an array of objects with the following fields:

        'id' is the ID of the branch.

        'name' is simply the name of the branch.

        'commit' is a string representing the revision identifier of the
        commit, and the format depends on the repository type (it may contain
        an integer, SHA-1 hash, or other type). This should be treated as a
        relatively opaque value, but can be used as the "start" parameter to
        the repositories/<id>/commits/ resource.

        'default' will be true for exactly one of the results, and false for
        all the others. This represents whichever branch is considered the tip
        (such as "master" for git repositories, or "trunk" for subversion).

    This is not available for all types of repositories.
     N/A added_in 2.0 N/A name branches N/A policy_id repository_branches N/A singleton True N/A allowed_methods N/A GET N/A mimetype_item_resource_name repository-branches get N/A N/A self request N/A args kwargs N/A N/A Retrieves an array of the branches in a repository. N/A N/A N/A repository N/A N/A N/A resources repository 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 branches N/A N/A branch N/A N/A repository get_branches N/A N/A N/A N/A branches append N/A id name commit default N/A branch id N/A branch name N/A branch commit N/A branch default N/A N/A 200 N/A N/A self item_result_key branches N/A N/A N/A SCMError N/A e N/A N/A N/A N/A REPO_INFO_ERROR with_message N/A N/A six text_type e N/A N/A NotImplementedError N/A N/A REPO_NOT_IMPLEMENTED N/A webapi_check_local_site webapi_check_login_required N/A webapi_response_errors DOES_NOT_EXIST REPO_INFO_ERROR REPO_NOT_IMPLEMENTED N/A N/A repository_branches_resource N/A RepositoryBranchesResource