getSingleBranch

@GET(value = "projects/{id}/repository/branches/{branch}")
abstract suspend fun getSingleBranch(@Path(value = "id") id: String, @Path(value = "branch") branch: String): Result<Branch>

Get single branch

Return

a single project repository branch

Parameters

id

ID or URL-encoded path of the project owned by the authenticated user

branch

URL-encoded name of the branch.