Openmrs API endpoints for patientflags

**openmrs: 3.0.0 **

Question: Am having some trouble locating the openmrs API endpoints for the patientflags. Have tried the Advanced Administration Page but all in vain. Any assistance please.

It was added as part of this pull request: REST API Support, Bug fixes, Code improvement by maimoonak · Pull Request #25 · openmrs/openmrs-module-patientflags · GitHub ,but it then got reverted because of the resulting CI build failures.

So is there any other possible solution?.

The easiest available solution is to pick the REST API changes from that reverted pull request and create a new pull request.