Hi everyone!
Has there been a change in the syntax to the HTTP REST API? I used Postman with the following endpoint just last March - April, and everything was working as expected (I would get the first 10 documents)
https://cloud.appwrite.io/v1/databases/{{databaseId}}/collections/{{collectionId}}/documents?queries[]=limit(10)
However, running this today, I get this error instead:
{"message":"Invalid query: Syntax error","code":400,"type":"general_query_invalid","version":"1.5.8"}
and removing the queries parameter gives me the first 25 documents, while reporting the correct total count of documents (as expected when limit is not defined).
And if there were some changes, could you please send me a link to the updated documentation? All documentation links point to the same ones I read last March.
Thank you!
Recommended threads
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Edit ID of an existing collection
Hi there. Is it possible to edit an ID of an existing collection? Right now it looks impossible from AppWrite cloud at least.