averbis / averbis-python-api

Conveniently access the REST API of Averbis products using Python
Apache License 2.0
12 stars 4 forks source link

Export as CAS: only get document id if really necessary #134

Closed UWinch closed 1 year ago

UWinch commented 1 year ago

Is your feature request related to a problem? Please describe. When exporting the text analysis result for a document, we get the document identifier by document name. We need this for requesting the typesystem or for previous product versions that did not support exporting the result by document name only. However, now, if we supply the typesystem and use a current product version, we no longer need to get the document identifier at all.

Describe the solution you'd like Only get document identifier if the typesystem is not supplied or/and we use an older product version.

Additional context Want to reduce the number of requests for exporting results for whole collections one document at a time.