normativeai / backend

GNU General Public License v3.0
3 stars 3 forks source link

Include vocabulary (both auto and manual) in query GET #28

Closed lex-lex closed 5 years ago

lex-lex commented 5 years ago

When getting a query, GET /api/queries/id, could you please include the vocabulary of the chosen theory (if chosen) in the result? More detailed: The result of the above GET, say result, contains a field result.theory which contains the theory id, theory description, theory name, etc. Could you add here also the voc?

I can use this for a list of defined vocabulary for annotating the query parts (no new vocabulary to be allowed here).

shaolintl commented 5 years ago

Associated theory is returned with the two fields - auto and normal voc