Closed ChristophB closed 4 months ago
We also want to squash the different endpoints into one -> path params
will become query param
.
There are now only three document endpoints:
document data source
)document data source
)document data source
, since that information is inside a query)Do you think that this suffices, @ChristophB ?
I will refactor the other endpoints (phrase
and conceptcluster
) as well, where applicable
Do you think that this suffices, @ChristophB ?
This is looking good!
I am wondering one thing. If you distinguish between searching for documents with and without a query, will we be able to search in a cluster with phrases etc?
Edit: Never mind, just had a look at your commit.
I close this issue now and create a pull request. The refactoring of the other endpoints will be done within another branch.
There are currently some operations that request documents without specifying the data source to be used. As we want to support multiple data sources, the source ID needs to be added as an additional parameter.