Manage PR comments via API

Hi folks,

I’m currently working on a 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:

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


Update

While writing this post I found these API endpoints:

image

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

1 Like