d2d_get_instances(FALSE) -> d2d_api_instance_get_by_id()
instance2 -> instance_get()