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