Expand Collection Links

when fetching an entity all relations are only referenced (for example collectionLinks with properties _id, link and display).
With this normalization I have to now make new requests to fetch the required entites.

Is there a parameter where I can expand those children/relations to include them in the request so I have the data directly included?

1 Like

try populate: -1

mentioned in the docs: https://getcockpit.com/documentation/api/collections



I really wonder why my request is not working even though i have tried both populate:1 and populate:-1

fetch(url+"?token="+token, {
method: ‘post’,
headers: { ‘Content-Type’: ‘application/json’ },
body: JSON.stringify({
populate: -1

Can you please help me with this