This is regarding the Get Folders endpoint:
If I hit the API with no root specified:
https://<instance>.mktorest.com/rest/asset/v1/folders.json?maxDepth=1000&maxReturn=200&offset=0
after iterating through the offsets/pages, I would expect to get all the folders in my Marketo instance.
I am finding, however, that any folders that are children of programs are not returned.
Example path: Folder 1 (folder) / Folder 2 (folder) / Program 1 (program) / Folder 3 (folder)
This API endpoint will not return Folder 3 unless I specifically query the endpoint above with that folder as the root node.
Has anyone else run into this?