2020-05-08 20:04:21 +00:00
|
|
|
{
|
2020-05-20 01:27:36 +00:00
|
|
|
"V1": {
|
|
|
|
"GET": {
|
|
|
|
"/healthy": {
|
|
|
|
"statusCode": 200,
|
|
|
|
"body": {},
|
|
|
|
"text": "OK"
|
|
|
|
},
|
|
|
|
"/healthy [2]": {
|
|
|
|
"statusCode": 500,
|
|
|
|
"body": {},
|
|
|
|
"text": "Unhealthy"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-05-08 20:04:21 +00:00
|
|
|
"V2": {
|
|
|
|
"GET": {
|
|
|
|
"/device/vpn": {
|
|
|
|
"statusCode": 200,
|
|
|
|
"body": {
|
|
|
|
"status": "success",
|
|
|
|
"vpn": {
|
|
|
|
"enabled": true,
|
|
|
|
"connected": false
|
|
|
|
}
|
|
|
|
}
|
2020-05-15 19:18:20 +00:00
|
|
|
},
|
|
|
|
"/applications/1/state": {
|
|
|
|
"statusCode": 200,
|
|
|
|
"body": {
|
|
|
|
"local": {
|
|
|
|
"1": {
|
|
|
|
"services": {
|
|
|
|
"1111": {
|
|
|
|
"status": "Running",
|
|
|
|
"releaseId": 99999,
|
|
|
|
"download_progress": null
|
|
|
|
},
|
|
|
|
"2222": {
|
|
|
|
"status": "Running",
|
|
|
|
"releaseId": 99999,
|
|
|
|
"download_progress": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependent": {},
|
|
|
|
"commit": "7fc9c5bea8e361acd49886fe6cc1e1cd"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"/applications/9000/state": {
|
|
|
|
"statusCode": 409,
|
|
|
|
"body": {
|
|
|
|
"status": "failed",
|
|
|
|
"message": "Application ID does not exist: 9000"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"/applications/123invalid/state": {
|
|
|
|
"statusCode": 400,
|
|
|
|
"body": {
|
|
|
|
"status": "failed",
|
|
|
|
"message": "Invalid application ID: 123invalid"
|
|
|
|
}
|
2020-05-08 20:04:21 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"POST": {}
|
|
|
|
}
|
|
|
|
}
|