mirror of https://github.com/perkeep/perkeep.git
demonstrate query using curl
It took me a while to figure this out, perhaps it will help other people to have an example
This commit is contained in:
parent
7f639a3ad0
commit
28aafe7f68
|
@ -40,3 +40,6 @@ curl -v -u $AUTH http://$BSHOST/camli/enumerate-blobs?limit=1
|
||||||
|
|
||||||
# List offset -- 200 with list of no blobs
|
# List offset -- 200 with list of no blobs
|
||||||
curl -v -u $AUTH http://$BSHOST/camli/enumerate-blobs?after=sha1-126249fd8c18cbb5312a5705746a2af87fba9538
|
curl -v -u $AUTH http://$BSHOST/camli/enumerate-blobs?after=sha1-126249fd8c18cbb5312a5705746a2af87fba9538
|
||||||
|
|
||||||
|
# Search for all images
|
||||||
|
echo '{"expression":"is:image","describe":{"rules":[{"attrs":["camliContent"]}]}}' | curl -v --data-binary @- -u $AUTH http://localhost:3179/my-search/camli/search/query
|
||||||
|
|
Loading…
Reference in New Issue