Response of endpoint /corpora/corpusname/play/playname/metadata of single play corpora
Closed this issue · 2 comments
ingoboerner commented
If a corpus consists of a single play only, the response of the endpoint is an object containing the metadata; but if there are more plays in a corpus the endpoint returns an array. Maybe this should always be of type array for consistency reasons? I had a script crashing because of this.
to reproduce see: https://staging.dracor.org/api/corpora/dutch/metadata
ingoboerner commented