Download

snap_download

Introduced in version 1

Summary: GET /api/v1/snaps/download/<filename>

Download the given snap file. It usually redirects to a CDN.

URL Parameters

{
    "properties": {
        "cdn": {
            "description": "The CDN to use for the download.",
            "type": "string"
        }
    },
    "type": "object"
}
  • cdn
    • description: The CDN to use for the download.

snap_resource_download

Introduced in version 58

Summary: GET /api/v1/snaps/resources/download/<filename>

Download the given snap resource file. It usually redirects to a CDN.

URL Parameters

{
    "properties": {
        "cdn": {
            "description": "The CDN to use for the download.",
            "type": "string"
        }
    },
    "type": "object"
}
  • cdn
    • description: The CDN to use for the download.

resource_download

Introduced in version 1

Summary: GET /api/v1/resources/download/<filename>

Download the given resource file.

URL Parameters

{
    "properties": {
        "cdn": {
            "description": "The CDN to use for the download.",
            "type": "string"
        }
    },
    "type": "object"
}
  • cdn
    • description: The CDN to use for the download.

charm_download

Introduced in version 25

Summary: GET /api/v1/charms/download/<filename>

Download the given charm file.

URL Parameters

{
    "properties": {
        "cdn": {
            "description": "The CDN to use for the download.",
            "type": "string"
        }
    },
    "type": "object"
}
  • cdn
    • description: The CDN to use for the download.

media_download

Introduced in version 1

Summary: GET /api/v1/media/download/<filename>

Download the given media file.

URL Parameters

{
    "properties": {
        "cdn": {
            "description": "The CDN to use for the download.",
            "type": "string"
        }
    },
    "type": "object"
}
  • cdn
    • description: The CDN to use for the download.

© 2019 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.