[API] Gitea API return 404
Hi everyone, I'm testing Gitea API, I visit the web[1], and click "Try is out", no matter what I enter there, it returns 404, and I also test "/contents" [2], that's ok. [1] https://opendev.org/api/swagger#/repository/repoListPullRequests [2] https://opendev.org/api/swagger#/repository/repoGetContentsList
On 2024-09-09 06:32:09 -0000 (-0000), tzing0013@gmail.com wrote:
I'm testing Gitea API, I visit the web[1], and click "Try is out", no matter what I enter there, it returns 404, and I also test "/contents" [2], that's ok.
[1] https://opendev.org/api/swagger#/repository/repoListPullRequests [2] https://opendev.org/api/swagger#/repository/repoGetContentsList
The Gitea run in the OpenDev Collaboratory is not a good example to use for exploring the API, since we have the service fairly stripped down with its only intended use as a graphical code browser and Git mirror. We run a bunch of disconnected Gitea servers behind a load balancer, and the API is not directly accessible through that. Are you trying to learn more about Gitea, or about OpenStack's software development process? Note that OpenStack does not use a Gitea contribution workflow, but instead relies on a Gerrit Code Review service at https://review.opendev.org/ for change submission. -- Jeremy Stanley
Thank you very much, I find the API from https://review.opendev.org/
On 2024-09-10 00:42:25 -0000 (-0000), tzing0013@gmail.com wrote:
Thank you very much, I find the API from https://review.opendev.org/
Note that if you're just looking to compile information about OpenStack development and code review activity, there's a dashboard available at https://openstack.biterg.io/ which can be used to get statistics for in-depth analysis. -- Jeremy Stanley
this's a very nice site, I just want to check the pr state, the API works
participants (2)
-
Jeremy Stanley
-
tzing0013@gmail.com