[api] fix request schema

grouped can appear more than once, but it always has one id

This left unnoticed, as request/show did not validate due to the usage of
send_data, which is now fixed. Also avoiding double render errors if an
exception happens