1 Reply Latest reply on May 1, 2018 12:25 AM by Sanford Whiteman

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

    Evanthika Amarasiri



      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