Hello.
I wasn't sure where would be the best place to ask a question about the more complex API queries.
I find this resource very useful and but I'd like to explore the possibility of more complex queries than we have in this example:
|
query = '/search?page=1&filter={"query":{"jsonmodel_type":"boolean_query","op":"AND","subqueries":[{"jsonmodel_type":"field_query","field":"primary_type","value":"digital_object","literal":true},{"jsonmodel_type":"field_query","field":"digital_object_id","value":"' + doid + '","literal":true}]}}' |
for example:
is it possible to extend the subqueries further down and filter results combining AND and OR operators to pull the results from the Archive?
Thanks for your help.
Hello.
I wasn't sure where would be the best place to ask a question about the more complex API queries.
I find this resource very useful and but I'd like to explore the possibility of more complex queries than we have in this example:
api-training/archiveIt.py
Line 43 in 3aa088c
for example:
is it possible to extend the subqueries further down and filter results combining AND and OR operators to pull the results from the Archive?
Thanks for your help.