Returning responded information in api actions.