Port api impl to use response.accepts