AnsweredAssumed Answered

What is the default value set as the 'type' in /rest/asset/v1/folder/{id}/content.json method

Question asked by Evanthika Amarasiri on Apr 30, 2018
Latest reply on May 1, 2018 by Sanford Whiteman

Hi,

 

When I'm calling the /rest/asset/v1/folder/{id}/content.json resource of Folders : Folder Controller it returns the content of the relevant Folder or the Program depending on the value you pass as the 'type'.

However, if you don't pass a value for the 'type' parameter, it takes the value as 'Folder'. Is this the correct behavior of this API resource?

 

I checked the Marketo documentation at [1] but it does not mention anything about it. Could you kindly confirm this?

 

[1] - http://developers.marketo.com/rest-api/endpoint-reference/asset-endpoint-reference/#!/Folders/getFolderContentUsingGET

 

Regards,

Evanthika

Outcomes