# Manage PR comments via API

**URL:** <https://forum.gitea.com/t/manage-pr-comments-via-api/4450>\
**Category:** API/SDK/Tea/HelmChart/Terraform\
**Created:** [January 19, 2022, 10:43am UTC](https://forum.gitea.com/t/manage-pr-comments-via-api/4450 "2022-01-19T10:43:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OCram85](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/ocram85/32/4947_2.png) [@OCram85](https://forum.gitea.com/u/OCram85)\
**Post date:** [January 19, 2022, 10:43am UTC](https://forum.gitea.com/t/manage-pr-comments-via-api/4450/1 "2022-01-19T10:43:59Z")

</div>

Hi folks,

I’m currently working on a [Drone.io](http://Drone.io) plugin which reports back the pipeline results as a comment in the current pull request.

To avoid keep adding new comments I would like to implement different modes:

- `Add` → Simple add new comments.
- `Edit` → Edit an existing comment.
- `Renew` → Remove previous comments containing old build results. Add a new one.

Now I noticed some API endpoints are disabled:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/9/9b2f4596a1b87de2e4a1a4f08b3ae500b6de228d.png)

Are there any plans to update them or bring them back? I coudln’t find any alternative wich enables me to go on with my `Edit` and `Renew` modes.

#### PR Comment example

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/d/df0e9d841713875d243933f937aef0a87fee7565.png)

* * *

### Update

While writing this post I found these API endpoints:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/6/64fa06c5ebbd214f70b828b49fd705bd26257346.png)

Are these the updated ones from the disables endpoints mentioned above?
