-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate dynamic query method into /ws/species/ #277
Comments
How to test: https://lists-test.ala.org.au//ws/species/https://biodiversity.org.au/afd/taxa/76f4ad27-475e-4a93-bc61-3fbe2a896283?username=eq:[email protected] |
qifeng-bai
added a commit
that referenced
this issue
Sep 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It supports dynamic query on 'myList' , for example:
http:https://localhost:8080/ws/species/https://biodiversity.org.au/afd/taxa/76f4ad27-475e-4a93-bc61-3fbe2a896283?username=eq:[email protected]
It will return the data resources which uses this species and created by username = [email protected]
We can add extra key-value pair params, in this example :
username
is the key,eq:[email protected]
is the value, and further ,eq:
is interpreted=
. Finally,username=eq:[email protected]
will be interpreted to[email protected]
The query methods only support such as order,exists,distinct,and,not,notExists,avg,readOnly,ne,property,ge,min,max,count,isEmpty, etc
And limited keys in list are supported:
"listType", "region","ownerFullName","dateCreated" ,"firstName" ,"lastUploaded"
"lastUpdated"
"listName"
"wkt"
"generalisation"
"version"
"surname"
"isInvasive"
"looseSearch"
"isBIE"
"sdsType"
"userId" -
"isAuthoritative"
"lastMatched"
"items"
"username"
"url"
"authority"
"isPrivate"
"editors"
"category"
"dataResourceUid"
"isSDS"
"description"
"isThreatened"
"itemsCount"
The text was updated successfully, but these errors were encountered: