Hello devs,
I am having an issue getting changes to files [after changing to a business account]
Before I was using the `files/list_folder` endpoint.
But now I can't seem to get it to list changes in the team only the user folder.
return Http::withToken(cache()->get('dropbox_token'))
->withHeaders(['Dropbox-API-Select-Admin' => '<admin_member_id>'])
->post('https://api.dropboxapi.com/2/files/list_folder', [
'include_deleted' => true,
'include_has_explicit_shared_members' => false,
'include_non_downloadable_files' => false,
'path' => '',
'recursive' => true
])
->json();
I also tried the team endpoint but it doesn't list changes just shows the team space.
return Http::withToken(cache()->get('dropbox_token'))
->withBody('{}', 'application/json')
->post('https://api.dropboxapi.com/2/team/team_folder/list')
->json();
I am wanting to act on files that are changed within <team_root>/stores/
What am I missing?