Why is it possible to download all files in a workspace but not in a specific app?
I can use https://developers.podio.com/doc/files/get-files-on-space-22471 to get all files from a workspace. But trying to use https://developers.podio.com/doc/files/get-files-on-app-22472 results in:
API-Sandbox:
Request: /file/app/234567/?limit=20&offset=0&sort_by=name&sort_desc=true
Response: null
Which looks not very helpful. But using a real request results in:
{u'error': u'forbidden',
u'error_description': u'The user with id 123456 does not have the right view on app with id 234567',
u'error_detail': None,
u'error_parameters': {},
u'error_propagate': False,
u'request': {u'method': u'GET',
u'query_string': u'',
u'url': u'http://api.podio.com/file/app/234567/'}}
Do I really need to define a view on an app to get all files from an app in a workspace I'm Admin for? I could load all files in the workspace and filter them by app. But that doesn't seem very efficient if there's a function for that.
Please sign in to leave a comment.
Comments
2 comments