Endpoints - mcode/medmorph-backend GitHub Wiki

A list of all the endpoints on this server

Endpoint Method Auth Info
/ GET YES Hello World test service used to verify the server is up and running for debug purposes.
/fetch-ka POST YES Refresh Knowledge Artifacts from all known repositories. For debug purposes only. No body included.
/public/jwks GET NO The public jwks for this server. Use this url to register the app with a jwks-url
/collection/{collection_name} GET YES Lists all elements in the collection from the database.
/collection/{collection_name}?id={id} GET YES Gets a single element from the collection by id or 404 if not found.
/collection/{collection_name}?fullUrl={fullUrl} GET YES Gets a single element from the collection by fullUrl or 404 if not found.
/collection/{collection_name} POST YES Creates a new item in the collection. Body must be correct schema. See Collections Wiki for schemas.
/collection/{collection_name}/{id} PUT YES Upserts an element by id. Body must be correct schema. See Collections Wiki for schemas.
/collection/{collection_name}/{id} DELETE YES Deletes an element by id from the database.
/notif/{id} POST YES* Subscription notification endpoint for a specific PlanDefinition id. No body included.
/notif/{id}/{resource}/{resource id} PUT YES* Subscription notification endpoint for a specific PlanDefinition id with the trigger resource attached in the body.
/fhir/$process-message POST YES Implementation of the FHIR $process-message operation used to receive asynchronous message responses.

*Requires authorization token but does not implement SMART Backend Authorization protocol.