gitlab4j-api
gitlab4j-api copied to clipboard
404 Project Not Found
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
help