I know how it can be done for Google Play Store (answer here), but i didn't manage to find a way for AppGallery. Thank you!
UPDATE #1
Using the answer below i partially solve this with this steps:
- Make an API Client with Administrator role, it also works with App Administrator and Operations. (documentaion here: API Client)
- Get the access token. (documentaion here: Obtaining a Token)
- Get app info. (documentaion here: Querying App Information)
The response from the Querying App Information, have a lot of informations about the app including "versionNumber", but for me it doesn't provide the "versionNumber" (the single info i needed), because this parameter is optional. And now i am stuck again, because i don't understand what i need to change in order to receive this one.
If anyone knows how I can solve this, thank you very much for your help.
UPDATE #2
@shirley's comment was right. The issue has been fixed in their latest release, and it has been released this month.