URL | GET {{basepath}}/package/:package |
---|---|
Category | Package |
Allows you to retrieve a specific package and it's specs. Returns a PackageGetResponse object.
:package | basic | the package you want to retrieve |
---|
GET {{basepath}}/package/:package
:package | basic1 | the package you want to retrieve |
---|
200 OK
{
"responseId": "1_f133e4ceea82c615e4d0472a2ea9b5cfd66e5919",
"status": "ok",
"message": "The Package is attached",
"package": {
"packageId": "basic",
"type": "plesk",
"status": "active",
"spec": [
{
"type": "diskspace",
"value": "1000"
}
],
"created": 1626272615,
"modified": 1626272619
}
}
GET {{basepath}}/package/:package
:package | basic1234 | the package you want to retrieve |
---|
404 Not Found
{
"responseId": "1_f2c74b4d4017fe9c5c09543be3cc1f1debff5675",
"status": "error",
"errorCode": "does_not_exist",
"errorMessage": "This package does not exist"
}