You need to enable JavaScript to run this app.
Direct Connect

Direct Connect

Copy page
Download PDF
SDK Reference
Viewing an SDK sample code
Copy page
Download PDF
Viewing an SDK sample code
This topic introduces how to search and view the SDK example code of desired interface through the VolcanoEngine OpenAPI center.​
Step 1: Obtain the usage documentation of the target API​
View the API overview, select the desired feature interface, and view the interface documentation to understand the configuration description and limits of request parameters.​
Step 2: Obtain an SDK sample code​
  1. In the left-side pane, search the API name to match the target API.​
  1. In the middle debugging zone, select the service region, and type in request parameters.​
  1. On the right side, select the SDK Examples tab to view corresponding SDK code examples based on your programming language. ​
Step 3: Configure code​
The following example uses the DescribeVpcEndpointAttributes API to illustrate how to read and use code examples.​
You only need to replace the content in the red box with actual AK and SK data. For information on obtaining AK and SK, see API Access Key Management.​
​
Programming language​
SDK example​
Java​
​alt​​
Go​
​alt​​
Python​
​alt​​
​
​
Last updated: 2026.08.24 11:30:49