API

Current Host

The mdTranslator and mdCodes rubygems are currently hosted at mdtranslator.adiwg.org. Click here for a full description of the API.

Endpoints

  • .../api/codelists # returns a JSON or XML object will all codeLists supported in mdJSON
    • use option format="xml" to return an ISO Codelist Catalogue
    • use option format="json" to return a JSON object with codeLists for for loading mdEditors
    • add option definitions="true" to return a JSON object with codeNames and their definitions
    • add option callback="{callbackName}" with format="json" for JSONp
  • .../api/codelists/{codeListName} # returns a JSON object with the requested codeList
    • add option definitions="true" to return a JSON object with codeNames and their definitions
    • use option callback="{callbackName}" for JSONp

results matching ""

    No results matching ""