gitlab4j-api icon indicating copy to clipboard operation
gitlab4j-api copied to clipboard

404 Project Not Found

Open saowu opened this issue 4 years ago • 1 comments

 public Branch getBranch(Object projectIdOrPath, String branchName) throws GitLabApiException {
        Response response = get(Response.Status.OK, null, "projects",
                getProjectIdOrPath(projectIdOrPath), "repository", "branches", urlEncode(branchName));
        return (response.readEntity(Branch.class));
    }

I want to use the path to get the branch, what is the path here? I used the warehouse address and an error was thrown :404 Project Not Found

saowu avatar Jul 16 '21 03:07 saowu

help

saowu avatar Jul 16 '21 03:07 saowu