def METHOD_NAME(self):
    bundle = self.upload_and_load_bundle(
        path=Path(
            self.base_dir,
            "python/api/tests/files/test_actions_data.tar",
        ),
    )
    cluster_prototype = Prototype.objects.get(bundle=bundle, type="cluster")
    cluster_response: Response = self.client.post(
        path=reverse(viewname="v1:cluster"),
        data={"name": "test_cluster", "prototype_id": cluster_prototype.pk},
    )
    cluster = Cluster.objects.get(pk=cluster_response.data["id"])
    cluster_config = ConfigLog.objects.get(pk=cluster.config.current)
    cluster_config.config["flag"] = "complex"
    cluster_config.save(update_fields=["config"])
    action = Action.objects.get(prototype=cluster_prototype)
    action.state_available = "any"
    action.save(update_fields=["state_available"])
    response: Response = self.client.get(
        path=reverse(
            viewname="v1:object-action-details", kwargs={"cluster_id": cluster.pk, "action_id": action.pk}
        ),
    )
    self.assertEqual(response.status_code, HTTP_200_OK)
    self.assertTrue(response.data["config"])
    response: Response = self.client.get(
        path=f'{reverse(viewname="v1:object-action", kwargs={"cluster_id": cluster.pk})}?view=interface',
    )
    self.assertEqual(response.status_code, HTTP_200_OK)
    self.assertTrue(response.data[0]["config"])