Any example of using queries in the context of REST API?
Here's an example: https://appwrite.server/v1/databases/DB_ID/collections/COL_ID/documents?queries=["equal(customerId, CUSTOMER_ID)"]
Whatever format I tried, I keep getting response:
{
"message": "Invalid queries: Value must a valid array and Value must be a valid string and no longer than 4096 chars",
"code": 400,
"type": "general_argument_invalid",
"version": "1.2.1"
}
Did you look at this? https://appwrite.io/docs/rest#query
Thanks
[SOLVED] Using queries in REST API
Recommended threads
- Does 1.9.0 Self Hosted have MongoDB Atla...
I have been playing with the new 1.9.0 update and I am really excited for the MongoDB support. I wanted to ask though if at the current time Appwrite supports b...
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- NEW ERROR Invalid document structure: At...
Error: ```AppwriteException: document_invalid_structure, Invalid document structure: Attribute "pb.kmsgxPkgInfo.id_info" must be an array (400)``` I’m encounter...