Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

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

Projects

Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Marker Sites

URLs

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

Fetches  markers based on type, openmrs_version and distribution

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

Gets/Puts

GETPOST createPOST update

id

latitude

longitude

name

url

type

image

patients

encounters

observations

contact

email

notes

data

atlas_version

date_created

date_changed

created_by

show_counts

openmrs_version

distribution

latitude

longitude

name

url

type

image

patients

encounters

observations

contact

email

notes

data

atlas_version

date_created

date_changed

created_by

show_counts

openmrs_version

distribution

id

latitude

longitude

name

url

type

image

patients

encounters

observations

contact

email

notes

data

atlas_version

date_created

date_changed

created_by

show_counts

openmrs_version

distribution

Distributions

URLs

urlDescription
GET /distributionsFetches data of all distributions

Gets/Puts

GET

id

name

created_at

is_standard


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

id

modules[] : [

id

name

version

active

]

  • No labels