What is the default value set as the 'type' in /rest/asset/v1/folder/{id}/content.json method | Community
Skip to main content
May 1, 2018
Solved

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

  • May 1, 2018
  • 1 reply
  • 1415 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

Yes, this is consistent, but undocumented.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
May 1, 2018

Yes, this is consistent, but undocumented.