Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handling according to fixed set of relations for play-spoken-text #275

Open
hsluytergaethje opened this issue Nov 18, 2024 · 0 comments

Comments

@hsluytergaethje
Copy link

In the endpoint /corpora/{corpusname}/plays/{playname}/spoken-text for the parameter relation a fixed set of possible values is indicated in the API documentation. When I pass a parameter that is not in the list an empty string is returned. It would be good to get an error (similar to the gender parameter) in which the possible set of values is indicated.
The same would be good for the parameter role or is this not a fixed set of values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant