go-gitea/gitea

Status API

bkcsoft opened this issue · 5 comments

Just an issue to track that we need Status API for v1.1


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

sbrl commented

This issue has been closed - presumably because it's been implemented - but is there any way I can actually use it? I can't seem to find any documentation anywhere.

@bkcsoft

This is documented in the Swagger api.

sbrl commented

Thanks for the reply, @zeripath! Unfortunately, I have absolutely no idea what "Swagger" is. Is there any documentation or some other resource on this at all that I could use to read up on it?

This might help. https://try.gitea.io/api/v1/swagger#/repository/repoListStatuses
This is the Swagger endpoint for the try instance. It is basically just the API endpoint.

sbrl commented

Oh, wow @jolheiser! I didn't even realise that the API documentation was built-in to my Gitea instance. I must have missed that in the Gitea documentation :P

Thanks so much!