Skip to content
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

Open
qifeng-bai opened this issue Sep 12, 2023 · 1 comment
Open

Integrate dynamic query method into /ws/species/ #277

qifeng-bai opened this issue Sep 12, 2023 · 1 comment
Assignees

Comments

@qifeng-bai
Copy link
Contributor

qifeng-bai commented Sep 12, 2023

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant