def METHOD_NAME(api_client):
    logs = '{"app": "application programing interface logs"}'
    res_bytes = logs.encode("utf-8")
    expected = res_bytes.decode("utf-8")
    async def mock_get_records_dumb(identifier, records, format_type):
        return res_bytes
    with patch("opentrons.system.log_control.get_records_dumb") as m:
        m.side_effect = mock_get_records_dumb
        response = api_client.get("/logs/touchscreen.log")
        body = response.text
        assert response.status_code == 200
        assert body == expected
        m.assert_called_once_with(
            "opentrons-robot-app", DEFAULT_RECORDS, "short-precise"
        )