function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nadia Gainsbourg 17Nadia Gainsbourg 17 

Workbench: retrieve all topics in Community

I'm trying to retrieve all topics that exist in our Community using this string: /services/data/v45.0/connect/communities/<communityIDhere>/topics; however, I only get a subset of them. After the serch is performed, I see that this gets appended to the string "?sort=PopularDesc" and there's nothing I can do to get rid of it. 

Can someone please help me out -- I've never seen this before. 

Thank you! 
Ajay K DubediAjay K Dubedi
Hi Nadia,

1. Browse https://workbench.developerforce.com/login.php.
2. Login for sandbox/Production.
3. From the Dropdown, menu Queries select SOQL Query.
4. Now select your custom or standard object and write SOQL query to fetch the result.
            
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
Nadia Gainsbourg 17Nadia Gainsbourg 17
Thanks, Ajay, but I was in the the REST Explorer, not in SOQL Query. I did end up using SOQL Query, but I wanted to understand why I wasn't getting the entire list of topics in REST Explorer.