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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3526799 · Mar 26, 2025

History

76 Commits
Oct 8, 2024
Feb 19, 2025
Mar 26, 2025
May 21, 2024
May 21, 2024
Oct 8, 2024
Oct 16, 2019
Oct 8, 2024
Oct 16, 2019
Oct 5, 2021
Feb 19, 2025
Feb 19, 2025

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.