Closed tianweipeng closed 7 months ago
@tianweipeng What would you like to know exactly? Do you have a code sample which does not work as expected?
I copied the demon code, but branch element returns null when I used gerritApi.projects().list().get() or gerritApi.projects().list().getBranch()
@uwolfer I mean how to get all branches and branchinfo
@tianweipeng Do other API calls work against the same Gerrit server?
@tianweipeng Do other API calls work against the same Gerrit server?
@uwolfer No, this function "GET /projects/testproject/tags?m=v2 HTTP/1.0" didn't been implemented.
@tianweipeng Can you please try to call the Gerrit REST API via curl or something like that? It sounds to me like the REST API is not available under the path requested.
That REST API is available.
@tianweipeng What would you like to know exactly? Do you have a code sample which does not work as expected?