Skip to content
/ odd-api Public

This is a small web application that provides information about an ODD (either TEI or MEI).

License

Notifications You must be signed in to change notification settings

Edirom/odd-api

Repository files navigation

ODD API

Docker

This is a small web application that provides information about an ODD (either TEI or MEI).

The API offers the following endpoints:

  • /{mei|tei}/{$version}/modules.json
  • /{mei|tei}/{$version}/{$classname}/elements.json
  • /{mei|tei}/{$version}/{$classname}/attClasses.json
  • /{mei|tei}/{$version}/{$elementname}/atts.json

Some examples for MEI:

  • /mei/5.0/modules.json
  • /mei/4.0.1/modules.json
  • /mei/5.0/MEI.cmn/elements.json
  • /mei/5.0/MEI.cmn/attClasses.json
  • /mei/4.0.1/bracketSpan/atts.json

… and for TEI:

  • /tei/4.8.0/modules.json
  • /tei/4.8.0/header/elements.json
  • /tei/4.8.0/header/attClasses.json
  • /tei/4.8.0/abbr/atts.json

It will return JSON with the corresponding information. If you want to support additional, ODD-based formats, just create the appropriate directory structure under data, build the app via docker build -t my-odd-api ., and the app will pick them up.

About

This is a small web application that provides information about an ODD (either TEI or MEI).

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •