Change any field result on the API output

Options
Hi,

Is it possible to change any field result on the API output? For example, if the field is empty on the database, I want to add a default value to the API output. 

Thanks in advance.

Update: I solved by using an update variable and for each loop feature.  :) 

Comments