I am currently extracting all folders and programs using the REST APIs, and from that am using the GET /rest/asset/v1/folder/{id}/tokens.json to return the tokens, but i want to limit this to just those that actually have tokens, and cannot see a way to do this from the results of both GET /rest/asset/v1/folders.json and GET /rest/asset/v1/programs.json. Hopefully i am missing something obvious, so any help pointing me in the right direction would be appreciated.
Cheers