Gitea project management expansion #81
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, gitea's API has limited support for project management. We need to expand the API to cover all aspects of project management within gitea, including creating, updating, and managing projects, columns, and cards. This expansion will allow for better integration with external tools
Tasks:
Review current API endpoints related to projects
Identify missing functionalities in the current API
Design new API endpoints to cover all project management features
Update Swagger/OpenAPI specification if used
Implement new API endpoints:
what we call template repo
This similar to initializing the repo with initial set of files + labels
e.g reapplying all of the labels
from another repoUpdate API documentation
Notes
https://github.com/threefoldtech/home/issues/1558
still refactoring endpoints to comply with github api
ENDPOINTS implemented:
GET /orgs/{org}/projects
POST /orgs/{org}/projects
GET /projects/{project_id}
PATCH /projects/{project_id}
DELETE /projects/{project_id}
PATCH /projects/{project_id}/{action}
GET /repos/{owner}/{repo}/projects
POST /repos/{owner}/{repo}/projects
PUT /repos/{owner}/{repo}/projects/{type:issues|pulls}
POST /user/projects
GET /users/{username}/projects
GET /projects/columns/{column_id}
PATCH /projects/columns/{column_id}
DELETE /projects/columns/{column_id}
PATCH /projects/{project_id}/columns/{column_id}/move
POST /projects/columns/{column_id}/default
GET /projects/{project_id}/columns
POST /projects/{project_id}/columns
PATCH /projects/{project_id}/columns/move