feat: api endpoints for projects#28111
Conversation
|
@dineshsalunke Is the PR still WIP or is it ready for review? |
|
@denyskon this one is ready for review |
|
looks good to me! |
|
@dineshsalunke I see a lot of unrelated formatting changes, maybe originating from your editor formatter or similar. Could you revert them? |
|
@denyskon I have fixed the golines formatting and pushed. I will still check on it and get back |
|
@dineshsalunke Thank you, however unfortunately some are still remaining in |
|
Also, some methods seem to have broken when updating to main. Could you take a look please? |
|
@denyskon I have pushed some changes for now, which only include the POST methods the test's are passing for them. Work on PR was slow due to the fact that I didn't had a clear way to handle permissions for /org and /repos routes. I will look into the permissions thing now for all the POST methods and will push those changes first if the approach looks good to others then I will move with implementing rest of the routes |
…gitea into feat/api-projects
…to dineshsalunke-feat/api-projects
|
@dineshsalunke I’ve pushed some changes. When you have a moment, please review them. |
…gitea into feat/api-projects
|
@lunny thanks for the push, i checked and everything looks good. For now, i am adding few fixtures for projects on org as i need them for testing org related project api endpoints |
|
I’ve pushed some commits to update the Swagger documentation. However, it’s still missing permission and resource checks, particularly for the /projects/{project_id} routes. |
|
Voicing support for this. Without a Projects API, the entire Projects functionality is unusable for any workflow involving automation. It's a great feature that I simply can't use at all in my system with lacking API support. Imagine being able to automatically create project cards from CI/CD pipelines, move issues across columns based on PR status, or sync project boards with external tools. Gitea could become a true all-in-one DevOps hub. Really looking forward to seeing this land! 👀 |
Fixes #14299
My earlier PR #20208 went too long and became messy, so I am closing that one and will be splitting the work in smaller chunks.
This PR includes all the endpoints for the Projects
For all the endpoints related to Boards I will be raising another PR for the same.