Compute
List Links
Retrieves a list of all network links in your workspace. Links are network interfaces that connect compute instances to subnets, enabling network connectivity between your instances and other resources within your virtual network infrastructure.
get/compute/v2/thr4/workspaces/{workspaceUUID}/links
Request
- Base URLhttps://api.sotoon.ir (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
workspaceUUIDstring required
UUID of the workspace
Response
Successfully retrieved the list of network links in your workspace. The response includes details about each link such as its name, status, associated instance, and the subnet it connects to.
Example response
{
"items": [
{
"apiVersion": "compute/v2",
"kind": "Link",
"metadata": {
"resourceVersion": "519597875",
"uid": "00000000-0000-0000-0000-000000000000",
"workspace": "00000000-0000-0000-0000-000000000000"
},
"spec": {
"forwardableAddresses": [
{
"cidr": "192.168.2.0/24",
"mac": "00:11:22:33:44:55"
}
],
"ip": "192.168.2.100/24"
},
"status": {
"gatewayIP": "192.168.1.1",
"mac": "00:11:22:33:44:55"
}
}
],
"kind": "LinkList"
}Changes
No recorded changes to this operation across all 6 revisions of this API.