API for Acknowledgement or Annotations

Hello,
the link to the legacy option seems to be gone.
When you are using Checkmk 2.0, there is a great in-product link at Help → APIs → REST API documentation, where you can find all the information including samples.
I hope this helps …