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
I've managed to use the filter. What helped me was to use the StrongLoop API Explorer https://api.openframe.io/explorer which showed me the current data model of artworks:
… the ownerId is returned by OF.users.login(). It also returns a token which you can then use in the StrongLoop API Explorer to get access to your private data and write permissions.
I think this is handy information and it should be added/updated in the JSclient docs. The filter and artwork models shown in sections Filtering queries and Fetch a list of Artworks are not up to date.
Activity
jvolker commentedon Sep 23, 2019
I've managed to use the filter. What helped me was to use the StrongLoop API Explorer https://api.openframe.io/explorer which showed me the current data model of artworks:
Before, I was using
usernamea field which doesn't exist. There isauthor_name, but it contains what is calledFull namein the web app.Instead, I'm now using
ownerId:… the ownerId is returned by
OF.users.login(). It also returns a token which you can then use in the StrongLoop API Explorer to get access to your private data and write permissions.I think this is handy information and it should be added/updated in the JSclient docs. The filter and artwork models shown in sections
Filtering queriesandFetch a list of Artworksare not up to date.