API endpoints
In your personal account, you can view the addresses of the available API endpoints. The list and addresses of endpoints differ between regions.
To work with VK Cloud via the API activate API access. Read more about working with services in the section Справка API.
The list is available to all users, regardless of their role if services are activated in the project.
To see the list of endpoints for your region:
- Go to VK Cloud personal account.
- Click on the user name in the header of the page and select Project settings.
- Go to API endpoints tab.
Endpoint | Address | Purpose |
---|---|---|
Nova | Managing virtual machines | |
Cinder | https://public.infra.mail.ru:8776/v3/<project_id> | Managing disks and their snapshots |
Glance | Managing VM images | |
Karboii | Managing backups of VMs and database instances | |
Manila | https://public.infra.mail.ru:8786/v2/<project_id> | Managing file shares |
The addresses of some endpoints contain the variable <project_id>
. When creating a request, replace this variable with the Project ID of the current project.
The Project ID does not match the project ID to VK Cloud personal account. This is another identifier that is used in configuration files:
- In
openrc.sh
, as the value of the variableOS_PROJECT_ID
. This file is required to work with additional tools such as the OpenStack CLI or cURL. - In
vkcs_provider.tf
, as the value of theproject_id
parameter. This file is required to work through Terraform.
To get the Project ID value for a project:
-
Go to VK Cloud personal account.
-
Open the desired project by selecting it from the list in the header of the personal account page.
-
Click on the user name in the header of the page and select Project settings.
-
Go to API access or Terraform tab.
The value is available on both tabs, under the headings Project ID and Project ID / tenant_id, respectively.