Content API - Children related asset URL


#1

**Matrix Version:6.20

Good afternoon,
I have been working with the Content API (which is awesome by the way), but I am having difficulty trying to get the URL to an image asset, as part of a child schema. I suspect that it has to do with my squiz keywords not being correct.

Using content API to compiled, and REST to manipulate in squiz.

In postman:
URL__api/assets/ASSETID/children?limit=5000&data=metadata,attributes

Which is returning

“metadata” : {
“image”: 12345 (which is the ID of the image)
}

Using the REST resource, what is the best approach for obtaining the URL for the image ID?

Am trying to use with little success:
globals_asset_children:12345^json_decode^as_asset:asset_url^index:1

Thank you.


#2

Resolved: Completely forgot about the ‘replace keywords in output’ REST option.