AnsweredAssumed Answered

How can I get paged results off a folder GET request using REST API?

Question asked by Jose Marcelo Silva Fascio on Jul 10, 2018
Latest reply on Jul 12, 2018 by Jose Marcelo Silva Fascio

Hi!

 

I have a namespace at https://namespace1.tenant1.hcp.mycompany.com/ (names not real). At the root folder of this namespace millions of other folders were created.

 

Now I need to use the REST API to access the root folder contents and I'm not being able to, given the size of the response XML, which my XML parser is not being able to deserialize.

 

I'm just issuing a "GET https://namespace1.tenant1.hcp.mycompany.com/rest/" request.

 

I need a way to pass some query (or header) parameters so the response is paged, the same way I can when using HCP metadata query API when I pass the count / offset values.

 

Tried to look for a solution in the REST Developer Guide, but it does not mention no parameter which I can use.

 

Is that possible?

 

José Marcelo Fascio

Outcomes