get Protected Branches
@GET(value = "projects/{id}/protected_branches" )
Gets a list of protected branches from a project as they are defined in the UI. If a wildcard is set, it is returned instead of the exact name of the branches that match that wildcard.
Return
A list of protected branches
Parameters
id
The ID or URL-encoded path of the project owned by the authenticated user
search
Name or part of the name of protected branches to be searched for