API v2 has no endpoint providing FULL list of ALL available locations in a Data Center
Hi, while studying how to work with the locations and their infraestructures through the API v2, I've realized that it's impossible to get the FULL list of ALL available locations in a concrete Data Center. To better illustrate the problem, I'll explain a simple but possible scenario:
- A third party platform uses API v2 to create a Customer Tenant in a certain Acronis Data Center. This tenant has no services enabled yet.
- Now the Customer Tenant wants to enable the Backup Service (on any edition), but she needs to choose the location where the data will be stored.
- Since currently the API v2 doesn't provide any endpoint that provides the FULL list of locations available in the tenant's Data Center, this forces the development team of the third party platform to code a cumbersome way to obtain it by first getting the service's infra offering items and, from those, get the "infras" themselves. After that, then they can call the GET /api/2/locations endpoint with the location IDs obtained through the infras, and finally build the list of available locations.
The scenario described above is far from ideal, since it implies too many calls that could hurt the user's perception of that third party platform's performance. Maybe is there another way provided by the API v2 that I haven't noticed?