Extend Existing Documentation for REST API with more Resources and Examples.
Primary Mentor | @Burke Mamlin @Ayeshmantha Perera |
Backup Mentor | @Jacinta Gichuhi |
Assigned to | TBD |
Primary Objective
Extend the existing User-Friendly GitHub Documentation for Rest API project.
Project Description
The OpenMRS REST API is one of the key mechanisms for developers to access data from OpenMRS. We have used Swagger to create auto-generated documentation of the API.
See a sample of the auto-generated REST API documentation here.
In the last year with GSoD, we developed a user-friendly GitHub documentation. Which can be found hosted in this URL
The purpose of this project is to come up with documentation for the missing resources and add more examples (Currently we have only curl example add Javascript, Java examples).
The final goal is to make the documentation a playground for the newcomers to get an idea about the current resources we have in openMRS.
You can find the repository for the project here (As you can see the build is failing to fix it would be a good starting point to get an idea how things work with the static content server used underneath).
Skills Needed
Possess knowledge in how to structure user documentation for use by different types of users, not only developers or people with technical know-how.
Experience in software engineering, infrastructure engineering, knowledge of how REST API works.
Comfort with working with GitHub repositories.
Great communication skills.
Objectives at the end of the Assignment :
Find the missing resources ( There won't be much uncovered but there should be at least one or two).
Try out the current curl examples make sure they're up to date.
Come up with Java & Javascript examples.
Finally, make sure to present the progress weekly with a talk post which will help to get the feedback from the community.
It will be good if we can make examples of work with the demo OpenMRS server which means anyone should be able to execute example from the documentation site.
Related Resources
Old (outdated) documentation: REST Web Service Resources in OpenMRS 1.9
Sample Swagger documentation: https://psbrandt.io/openmrs-contrib-apidocs/
Last year final review blog: https://medium.com/@ayeshmanthaperera/gsod19-openmrs-4259aa6356f1