You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ATM you need to make API calls to the backed to retrieve data/content or queries. This uses the webApi on the sxc-instance. But it does force developers to understand more of the internals and API routes. So we wish to have something ca. like this:
var personsData = sxc.data('Persons');
var allPersons = personsData.getAll();
var iJungleboy = personsData.getOne(27);
var blogsWithCategories = sxc.query('BlogsWithCategories');
var everything = blogsWithCategories.getAll();
var categories = blogsWithCategories.getStream('Categories');
Your environment
2sxc version(s): 12.11+
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
[x] feature request
...about
[x] JS development
Current behavior
ATM you need to make API calls to the backed to retrieve data/content or queries. This uses the
webApi
on the sxc-instance. But it does force developers to understand more of the internals and API routes. So we wish to have something ca. like this:Your environment
The text was updated successfully, but these errors were encountered: