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

Session expired. Create a session and make the request with the _session_id cookie.

Returns UnauthorizedError of type(s) application/json
{
    "error": "Session expired. Please login again."
}
string
error
Optional

Session expired. Create a session using and make the request with the _session_id cookie.


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.