You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoint /corpora/{corpusname}/plays/{playname}/relations/csv returns 404 when the play is not found as well as when no relations exist. Would it be possible to make the error more specific?
The text was updated successfully, but these errors were encountered:
Maybe it would be less ambiguous to return 404 only when the play does not exist, but return kind of empty documents when the play is missing relation. That would mean for the CSV we would only return the header line, and for the XML formats an XML document without any node and edge elements. What do you think @lehkost and @ingoboerner.
The endpoint
/corpora/{corpusname}/plays/{playname}/relations/csv
returns 404 when the play is not found as well as when no relations exist. Would it be possible to make the error more specific?The text was updated successfully, but these errors were encountered: