Refresh and return runtime health for a machine volume attachment
import requests
url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}/volumes/{attachment_id}/health"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api.13-215-85-171.sslip.io/v1/machines/{id}/volumes/{attachment_id}/health \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"volume_id": "<string>",
"machine_id": "<string>",
"mount_path": "<string>",
"read_only": true,
"state": "requested",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"subpath": "<string>",
"last_error_code": "<string>",
"last_error_message": "<string>"
}
Volumes
Refresh and return runtime health for a machine volume attachment
GET
/
v1
/
machines
/
{id}
/
volumes
/
{attachment_id}
/
health
Refresh and return runtime health for a machine volume attachment
import requests
url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}/volumes/{attachment_id}/health"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api.13-215-85-171.sslip.io/v1/machines/{id}/volumes/{attachment_id}/health \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"volume_id": "<string>",
"machine_id": "<string>",
"mount_path": "<string>",
"read_only": true,
"state": "requested",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"subpath": "<string>",
"last_error_code": "<string>",
"last_error_message": "<string>"
}
Response
Volume attachment health