Get Programs for A Package

Get Programs for A Package

Get Programs for a Package

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

Package ID.


Responses
200

Package Programs.

Returns GetPackagePrograms of type(s) application/json
{
    "data": [
        {
            "id": 0,
            "name": "Office 16",
            "publisher": "Microsoft Corporation",
            "install_location": "string",
            "version": "16.0.10358.20061",
            "icon": "/snapvols/19/Office_16.png",
            "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",
            "app_package_id": 0
        }
    ]
}
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.