12 - Target specific keys from response with krakend

Опубликовано: 15 Апрель 2026
на канале: The Quick Sol
691
1

In this video going to cover the Target key object from response with krakend in details.

What is Target keys from response?
It is frequent in many API implementations that the desired data lives inside a generic field like data or content, and you don’t want to have the encapsulating level included in your responses.

Use target when you want to capture the content inside these generic containers and work with the rest of the manipulation options as if it were on the root. The capture takes place before other options like allow list or mapping.

The capturing option uses the attribute target in the configuration file.