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
I think the Annif REST API could expose some more information about the vocabularies. Here is a list, ranging from easy to more difficult:
/projects/{projectId} could expose the vocabulary ID of a single project
/projects/ could expose the vocabulary IDs of all returned projects
there could be a /vocabs/ method that lists all vocabs along with basic information (similar to annif list-vocabs)
there could be a /vocabs/{vocabId} method that shows basic information about a single vocabulary
there could be additional methods that expose vocabulary concepts (but this is potentially getting into Skosmos territory...)
The reasons for implementing this:
parity between the CLI and the REST API
Finto AI, with the recent functionality for guessing the language, would benefit from knowing the vocabulary ID of a project - now it has to guess it from the project ID
The text was updated successfully, but these errors were encountered:
I think the Annif REST API could expose some more information about the vocabularies. Here is a list, ranging from easy to more difficult:
/projects/{projectId}
could expose the vocabulary ID of a single project/projects/
could expose the vocabulary IDs of all returned projects/vocabs/
method that lists all vocabs along with basic information (similar toannif list-vocabs
)/vocabs/{vocabId}
method that shows basic information about a single vocabularyThe reasons for implementing this:
The text was updated successfully, but these errors were encountered: