added accepted params for endpoints