Skip to content


Folders and files

Last commit message
Last commit date

Latest commit


Repository files navigation


This is the repository for OpenMRS REST API documentation.

The live documentation site can be viewed at

Contributing to the documentation

OpenMRS documentation is built using Slate. All documentation can be found in the source/includes/ directory and uses Markdown text format.

Contributions are welcome!

Get Started

Fork this repository in Github and submit the changes via pull requests. If you browse to the markdown files in this repository and edit them, GitHub will guide you through forking and making a pull request with your suggested changes.

Build the REST API Documentation locally

Use Git to clone the repository and use Docker to build and serve it (requires pre-installed git and docker).

  1. Clone the openmrs-contrib-rest-api-docs repository:
git clone
  1. Start the server
docker run --rm --name slate \
  -v "$(pwd)/build:/srv/slate/build" \
  -v "$(pwd)/source/" \
  -v "$(pwd)/source/includes:/srv/slate/source/includes" \
  -v "$(pwd)/source/images/logo.png:/srv/slate/source/images/logo.png" \
  -p 4567:4567 slatedocs/slate serve

Browse to http://localhost:4567/ and you should see the docs!

Guide for new PR's

  1. Make sure you add the document inside under the source/includes/ folder inside the relevant subfolder.

  2. Make sure to follow conventions used in existing markdown files for consistency.

  3. New files need to be added to the list of inclusions in source/includes/