TypeScript
curl -X GET "https://cloud.appwrite.io/v1/databases/<db-id>/collections/<c-id>/documents" -H "X-Appwrite-Project: <project-id>" -H "X-Appwrite-Key: <key>" -H "Content-Type: application/json" -d '{
"queries": [
{
"method": "equal",
"attribute": "phoneNumber",
"value": ["XXXXXXXXXXX"]
}
]
}'
This is returning ALL of the documents - not the matching query.
TL;DR
Title: REST API not filtering queries correctly
Developers are experiencing an issue with their REST API queries, as all documents are being returned instead of the filtered ones as intended.
Solution: Ensure that the query parameters are correctly formatted. Check the attributes and values for any discrepancies.Recommended threads
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...