We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Retrieving custom metadata fields using Content Delivery API

Accepted answer
edited Jun 2, 2021 7:19PM in Content Management 3 comments


How do you expand fields in the response when searching across more than one Asset Type?



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" 

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!