update api doc

Example curl calls for treemachine v2 services.