Confluence Cloud migration from REST API v1 to v2

trying to migrate from rest api v1 to v2 :
but i couldnt find the equivalent of this rest: rest/api/contentbody/convert/${to}
do you guys have any idea ?

There is no equivalent v2 API yet. You should use the v1 API call /wiki/rest/api/contentbody/convert/async/{to} for now (https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body/#api-wiki-rest-api-contentbody-convert-async-to-post).