Zip Bundle

Description

A zip bundle.

Properties

Property Description
downloadPageUrl nullable read-only

The URL for the download page where the zip bundle can be downloaded. Is either a URL to a Studio Panel download page, or a client gallery download page if the zip bundle is to be publicly accessible.

email write-only

The email address of an external user to send this zip bundle to.

If provided, the zip bundle generated will result in an email being sent to this address where the zip bundle link points to the client Gallery's zip bundle download page. By providing this value, it is assumed that the intended recipient is an external user.

If a value is not provided, the zip bundle generated will be sent to the requester's email address, and the link will be to a Studio Panel page where the ZIP file(s) can be downloaded.

expiration read-only

Datetime representing the expiration for the given URL. URL will no longer be valid after this time.

links required read-only

Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name.

numFiles nullable read-only

The number of files that make up this zip bundle. Null until processing is complete.

photoIds write-only

The (optional) IDs of the photos included in this zip bundle. If present, zip bundle will be limited to photo IDs present in this value.

type

The type of object represented

zipBundleStatus read-only

A slug string representing the status message describing the state of the zip bundle.

  • awaiting-processing - In the queue for processing
  • processing - Photos are being processed and zip bundle assembled.
  • downloadable - Zip bundle is ready for download.
  • deleted - Bundle has been deleted
zipBundleType read-only

The digital download type slug:

  • digital-download-order - Bundle of all photos belonging to a single paid digitals order
  • studio-group-photos - Studio panel user selected group of photos
  • event-all-photos - Bundle of all photos belonging to the event
  • event-all-photos-client - Client gallery user chose to download all photos in the event
  • studio-sent-client-link - Studio panel user generated a zip bundle and corresponding share link, no email address associated with this type of zip bundle == no authentication
  • album-all-photos - Bundle of all photos belonging to the event album, only used by studio panel
  • client-group-photos - Client user's arbitrary selection of photos grouped together into a zip bundle for download

OpenAPI Schema

The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.

{
  "description": "A zip bundle.",
  "properties": {
    "downloadPageUrl": {
      "description": "The URL for the download page where the zip bundle can be\ndownloaded. Is either a URL to a Studio Panel download page, or a\nclient gallery download page if the zip bundle is to be publicly\naccessible.",
      "format": "uri",
      "nullable": true,
      "readOnly": true,
      "type": "string"
    },
    "email": {
      "description": "The email address of an external user to send this zip bundle to.\n\nIf provided, the zip bundle generated will result in an email being\nsent to this address where the zip bundle link points to the client\nGallery's zip bundle download page.  By providing this value, it is\nassumed that the intended recipient is an external user.\n\nIf a value is not provided, the zip bundle generated will be sent to\nthe requester's email address, and the link will be to a Studio\nPanel page where the ZIP file(s) can be downloaded.\n",
      "format": "email",
      "type": "string",
      "writeOnly": true
    },
    "expiration": {
      "description": "Datetime representing the expiration for the given URL. URL will no\nlonger be valid after this time.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "links": {
      "$ref": "#/components/schemas/Links"
    },
    "numFiles": {
      "description": "The number of files that make up this zip bundle. Null until\nprocessing is complete.",
      "nullable": true,
      "readOnly": true,
      "type": "number"
    },
    "photoIds": {
      "description": "The (optional) IDs of the photos included in this zip bundle. If present, zip bundle will be limited to photo IDs present in this value.\n",
      "items": {
        "type": "number"
      },
      "type": "array",
      "writeOnly": true
    },
    "type": {
      "description": "The type of object represented",
      "enum": [
        "zip-bundle"
      ],
      "type": "string"
    },
    "zipBundleStatus": {
      "description": "A slug string representing the status message describing the state of the zip bundle.\n* `awaiting-processing` - In the queue for processing\n* `processing` - Photos are being processed and zip bundle assembled.\n* `downloadable` - Zip bundle is ready for download.\n* `deleted` - Bundle has been deleted",
      "enum": [
        "awaiting-processing",
        "processing",
        "downloadable",
        "deleted"
      ],
      "readOnly": true,
      "type": "string"
    },
    "zipBundleType": {
      "description": "The digital download type slug:\n* `digital-download-order` - Bundle of all photos belonging to a single paid digitals order\n* `studio-group-photos` - Studio panel user selected group of photos\n* `event-all-photos` - Bundle of all photos belonging to the event\n* `event-all-photos-client` - Client gallery user chose to download all photos in the event\n* `studio-sent-client-link` - Studio panel user generated a zip bundle and corresponding share link, no email address associated with this type of zip bundle == no authentication\n* `album-all-photos` -  Bundle of all photos belonging to the event album, only used by studio panel\n* `client-group-photos` - Client user's arbitrary selection of photos grouped together into a zip bundle for download",
      "enum": [
        "digital-download-order",
        "studio-group-photos",
        "event-all-photos",
        "event-all-photos-client",
        "studio-sent-client-link",
        "album-all-photos",
        "client-group-photos"
      ],
      "readOnly": true,
      "type": "string"
    }
  },
  "title": "Zip Bundle",
  "type": "object"
}