code: def test_create_dashboard_api(self):
      response = self.client.post(
          "/api/dashboards/",
          json={
              "name": "awesome",
              "description": "pretty awesome dashboard",
              "app_id": self.app_id,
          },
      )
      self.assertEqual(201, response.status_code)
      dashboard_id = response.json()["id"]
      get_response = self.client.get(f"/api/dashboards/{dashboard_id}/")
      data = get_response.json()
      self.assertEqual(dashboard_id, data["id"])
      self.assertEqual("awesome", data["name"])
      self.assertEqual("pretty awesome dashboard", data["description"])
      self.assertEqual(self.app_id, data["app_id"])
  
file_path: aim/tests/api/test_dashboards_api.py
imports: from tests.base import PrefilledDataApiTestBase
label_desc: Use image node_id 5 for calling the TestDashboardsApi obj's underlying member method code with example usage: obj.test_create_dashboard_api() without return types