Upgrade elgg_rest_api pulgin v2.2 to elgg 3.03

I am upgrading to elgg_rest_api plugin.

Now, elgg version 2.2.

But i have many problems.

First, elgg_format_url method removed.

In elgg document, it recommended to use elgg_format_element().

I don't know how to use it.

Please, help me.

Regards!