DHIS2 Postman Collections
I’ve created a more detailed resource on this previously, but wanted to create a blog post as a reminder to everyone about this great tool and how easy it is to setup.
Previous resource:
Why Use the DHIS2 Postman Collection?
- Its simple to use--even if you don’t use it for sending requests.
- It is a well documented, popular tool, with a good community to help when needed
- You can search everything in the API, its well organized, and it has most of the parameters
- You can store multiple versions of the same API as different collections
- You can add your own API calls to the collection and share with others!!
- Its not a complete record of everything that is possible but is extremely helpful for metadata
Download Postman
https://www.postman.com/downloads/
Import DHIS2 Collection (2.33)
https://www.getpostman.com/collections/99c3864868c2e9fed201
To import:
- Open Postman
- Click “Import” in top left
- Choose “Import from Link”
- Paste the link above
- Voila! Begin exploring!
Note: Any major API changes/additions in DHIS2 will require the importation of a new collection. This is only possible if UiO publishes an OpenAPI specification. As of now there are only specs for 2.31 and 2.33 but they should be able to generate them as needed.
DHIS2 Jira
Planned work to keep OpenAPI Spec Up to Date