Get details Of A Package

Get details Of A Package

Get details of a Package

Request
URI
GET
https://{api_host}/app_volumes/app_packages/{id}
COPY
Path Parameters
integer
id
Required

Package ID.


Responses
200

Package details.

Returns GetPackageSuccess of type(s) application/json
{
    "data": {
        "id": 0,
        "name": "Notepad-7.0.1",
        "guid": "14848eb3-169b-4e8a-bcb7-556f1811c08c",
        "app_product_id": 3,
        "lifecycle_stage_id": 1,
        "state": "Package",
        "version": "7.0.1",
        "description": "This package is on its latest version 7.0.1",
        "note": "The Package is best suited for development and HR dept.",
        "display_delivery": "Classic",
        "delivery": "classic",
        "capable_of_on_demand": true,
        "status": "enabled",
        "programs_count": 2,
        "icon": "/snapvols/9/Notepad++.7.0.1.png",
        "operating_systems_count": 0,
        "delete_status": "deleting",
        "deleted_at": "2021-12-04 13:10:13 -0800",
        "deleted_at_human": "Dec 04 2021",
        "created_at": "2021-12-03 13:10:13 -0800",
        "created_at_human": "Dec 03 2021",
        "updated_at": "2021-12-03 13:10:13 -0800",
        "updated_at_human": "Dec 03 2021",
        "added_at": "2021-12-03 13:10:13 -0800",
        "added_at_human": "Dec 04 2021",
        "attachment_count": 2,
        "type": "AppPackage",
        "format": "AV",
        "path": "appvolumes/packages",
        "filename": "Notepad++.vmdk",
        "enabled": true,
        "writable": false,
        "datastore_name": "datastore1",
        "files_count": 2,
        "total_use_count": 5,
        "provision_uuid": "string",
        "provisioning": false,
        "provision_completed_at": "2021-08-17 10:32:32 +0530",
        "provision_started_at": "2021-08-17 10:30:26 +0530",
        "size_mb": 73,
        "size_human": "83.00 MB",
        "assignment_count": 1,
        "volume_guid": "{4f949610-35c1-4e52-9f71-89d899150007}",
        "snapvol_version_id": 0,
        "mount_prefix": "string",
        "mounted_at": "2021-08-17 11:00:32 +0530",
        "template_file_name": "[data.1] appvolumes/packages_templates/template.vmdk",
        "template_version": "2.10.0.709",
        "missing": false,
        "protected": true,
        "agent_version": "4.5.0.922D",
        "capture_version": "4.0",
        "free_mb": 0,
        "total_mb": 0,
        "attachment_limit": 2,
        "reachable": true,
        "provision_duration": "2 minutes",
        "primordial_os_id": 2,
        "primordial_os_name": "Windows 10 (x64)"
    }
}
data
Optional

data


403

Unauthorized to execute this operation, either due to an expired session or insufficient item-level permissions to the Package.

Returns UnauthorizedOrNoPermissionError of type(s) application/json
{
    "errors": [
        {
            "error": "Session expired. Please login again."
        },
        {
            "error": "You do not have permission to perform this action."
        }
    ]
}
array of object
errors
Optional

errors


404

Package not found.

Returns GetPackageNotFoundError of type(s) application/json
{
    "errors": [
        {
            "title": "Incorrect Package id 0 passed",
            "meta": {
                "manager": {
                    "title": "Incorrect Package id 0 passed"
                }
            }
        }
    ]
}
array of object
errors
Optional

errors


500

Server error.

Returns ServerError of type(s) application/json
{
    "error": "Server Error",
    "detail": "Unexpected server error."
}
string
error
Optional

Server Error.

string
detail
Optional

Details of error. Exact error format subject to change depending on type of error.