Module crowdin_api.api_resources.branches.resource

Classes

class BranchesResource (requester: APIRequester, project_id: Optional[int] = None, page_size=25)

Ancestors

Methods

def add_branch(self, project_id: int, request_data: AddBranchRequest)
def check_branch_clone_status(self, project_id: int, branch_id: int, clone_id: str)
def check_branch_merge_status(self, project_id: int, branch_id: int, merge_id: int)
def clone_branch(self, project_id: int, branch_id: int, request_data: CloneBranchRequest)
def delete_branch(self, project_id: int, branch_id: int)
def edit_branch(self, project_id: int, branch_id: int, patches: Iterable[EditBranchPatch])
def get_branch(self, project_id: int, branch_id: int)
def get_branch_clones_path(self, project_id: int, branch_id: int, clone_id: Optional[str] = None)
def get_branch_merge_summary(self, project_id: int, branch_id: int, merge_id: int)
def get_branch_merges_path(self, project_id: int, branch_id: int, merge_id: Optional[int] = None)
def get_branches_path(self, project_id: int, branch_id: Optional[int] = None)
def get_cloned_branch(self, project_id: int, branch_id: int, clone_id: str)
def list_branches(self, project_id: int, name: Optional[str] = None, order_by: Optional[Sorting] = None, limit: Optional[int] = None, offset: Optional[int] = None)
def merge_branch(self, project_id: int, branch_id: int, request: MergeBranchRequest)