Retrieving custom metadata fields using Content Delivery API
Summary
How do you expand fields in the response when searching across more than one Asset Type?Content
Hello,
I am using the Content Delivery API to search for assets that have custom metadata fields.
If I perform a search using an endpoint like this:
<INSTANCE_URL>/content/published/api/v1.1/items?channelToken=<CHANNEL_TOKEN>&expand=all&q=(type eq "custom-document")
the response contains all custom defined fields because of the expand parameter.
However, if I perform a search using an endpoint like this (calling for more than one type):
<INSTANCE_URL>/content/published/api/v1.1/items?channelToken=<CHANNEL_TOKEN>&expand=all&q=(type eq "custom-document"
Tagged:
0