Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack

Projects

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Markers

URLs

urlDescription
GET /markersFetches data of all markers
GET /markers?username={username}Fetches markers that were created by user with username 'uid'
GET /marker/{id}Fetches marker by id
GET /markers?type={type}&versions={versions}&dists={dists}

Fetches  markers based on type, openmrs_version and distribution

POST /markerCreates marker with properties  in request
PATCH /marker/{id}Modifies marker of given id with properties in request
DELETE /marker/{id}Deletes marker with given id

...

GETPOST createPATCH update

id

version

version

version

Auth

URLs

urlDescription
GET /authFetches all auth rules
POST /authCreate new auth rule
DELETE /auth/:idDelete auth rule of given id


Gets/Puts

GETPOST create

id

atlas_id

principal

privileges

expires

atlas_id

principal

token

privileges

expires

Unsubscribed

URLs

urlDescription
POST /unsubscribedUnsubscribe authenticated user from notifications
POST /authCreate new auth rule
POST /unsubscribed/:usernameUnsubscribe user from notifications


Gets/Puts

GETPOST create

id

atlas_id

principal

privileges

expires

atlas_id

principal

token

privileges

expires

API used in the Atlas Module

URLs

urlDescription
POST /module/ping.phpPings to the server that the marker is alive.
DELETE /module/ping.php?id={id}&secret={secret}Deletes marker.

Gets/Puts

POST update

id

patients

observations

encounters

atlasVersion

data

version

modules[] : [

id

name

version

active

]

...