These are the updates.
For pophealth version 2022
There are some API's working for example:
DELETE /api/admin/patients --- Delete all patients in the database.
GET /api/admin/patients/count --- Get count of patients in the database
GET /api/providers --- Get a list of providers. Returns all providers that the user has access to.
Below API's not working:
DELETE /api/admin/caches --- Empty all caches in the database.
DELETE /api/admin/providers --- Delete all providers in the database (Working but with 500 status code).
POST /api/admin/patients --- Upload a zip file of patients.
I am sharing the postman collection we are trying.
One of the major challenges is there are few places we are required to authenticate via API, which is not the case so even if some things work from postman, via code we are not able to make it work due to authenticity-token related error.