mirror of https://github.com/go-gitea/gitea.git
This pull request adds a GitHub-compatible API endpoint to lock and
unlock an issue.
The following routes exist now:
- `PUT /api/v1/repos/{owner}/{repo}/issues/{id}/lock` to lock an issue
- `DELETE /api/v1/repos/{owner}/{repo}/issues/{id}/lock` to unlock an issue
Fixes #33677
Fixes #20012
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
||
|---|---|---|
| .. | ||
| admin.go | ||
| auth_form.go | ||
| org.go | ||
| package_form.go | ||
| repo_branch_form.go | ||
| repo_form.go | ||
| repo_form_test.go | ||
| repo_tag_form.go | ||
| runner.go | ||
| user_form.go | ||
| user_form_auth_openid.go | ||
| user_form_hidden_comments.go | ||
| user_form_test.go | ||