As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
I couldn't find an answer anywhere and I also can't think of a workaround for this problem.
Is it possible to get a list of all collections in my app?
Is it possible to get a list of all fields in in a specific collection? (Parsing the resulting JSON doesn't work if the collection has no entries).
Thanks a lot!
Best Answer
K
Kinvey Support
said
over 7 years ago
Hi, it is not currently possible to get a list of collections in your app through the API, only through the console.
As for your second question: since we use a schema-less database, there is no guarantee that all objects in the collection have the same fields, and thus there is no consistent list of fields that is available per collection. One way to achieve this type of listing yourself is to fetch a number of entities (for example, the first and the last one) from your collection, and then inspect them to compile an approximate list of collection fields.
Hi, it is not currently possible to get a list of collections in your app through the API, only through the console.
As for your second question: since we use a schema-less database, there is no guarantee that all objects in the collection have the same fields, and thus there is no consistent list of fields that is available per collection. One way to achieve this type of listing yourself is to fetch a number of entities (for example, the first and the last one) from your collection, and then inspect them to compile an approximate list of collection fields.
L
Lukas Eiermann
said
over 7 years ago
Thank you very much for your help!
Damien Bell
said
over 7 years ago
No worries at all, please let me know if you have any other issues.
Lukas Eiermann
Hi!
I couldn't find an answer anywhere and I also can't think of a workaround for this problem.
Is it possible to get a list of all collections in my app?
Is it possible to get a list of all fields in in a specific collection? (Parsing the resulting JSON doesn't work if the collection has no entries).
Thanks a lot!
As for your second question: since we use a schema-less database, there is no guarantee that all objects in the collection have the same fields, and thus there is no consistent list of fields that is available per collection. One way to achieve this type of listing yourself is to fetch a number of entities (for example, the first and the last one) from your collection, and then inspect them to compile an approximate list of collection fields.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstKinvey Support
As for your second question: since we use a schema-less database, there is no guarantee that all objects in the collection have the same fields, and thus there is no consistent list of fields that is available per collection. One way to achieve this type of listing yourself is to fetch a number of entities (for example, the first and the last one) from your collection, and then inspect them to compile an approximate list of collection fields.
Lukas Eiermann
Thank you very much for your help!
Damien Bell
No worries at all, please let me know if you have any other issues.
Enjoy your afternoon
-
Why am I getting "SignatureDoesNotMatch" error when uploading a file?
-
Why am I getting an "IncompleteRequestBody" error when sending a DELETE request?
-
Is there a default sort order to collections fetched without an explicit sort query?
-
Is it possible to set ACLs on all users so that only administrators can query for users (without dis
-
Flex SDK
-
Query Bug in Backend?
-
Can analytics data be retrieved via Java SDK or REST?
-
Accesing REST API from a server without a user?
-
What json is required to assign a user group either read/write?
-
LDAP Authorization
See all 120 topics