Notification Collection

Description

A collection (or list) of resources.

Properties

Property Description
items

A collection of resources returned in the current result set.

Property Description
attributes nullable read-only deprecated

Attributes are key-value pairs of data related to the notification.

WARNING! This is a free-form bag of unstructured data. The properties and values should not be relied upon by implementations; they are subject to change.

created read-only

The date on which the entity was created.

descriptor read-only

The value of the descriptor varies among notification types. In general, the descriptor may be used as a label for the entity described in the notification. For orders and invoices, the descriptor is often the total currency amount related to the notification. For contracts and events, the descriptor is the name of the contract or event.

dismissed

If the notification is dismissed, this will be true. Otherwise, it will be false. Set dismissed to true to dismiss the notification.

id

An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string.

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.

Property Description
alternate

The target URL is an alternate representation of the current resource. Usually, this will include a type property to indicate the media type of the alternate representation.

brand

The target URL is a brand or collection of brands related to the current resource.

brand-context deprecated

The target URL indicates the brand authorized for the current context, based on the access token.

This relationship is deprecated and should not be relied on. Access tokens obtained through the OAuth flow are not tied to a specific brand.

brand-homepage

The target URL is the brand homepage API endpoint related to the current resource.

brand-theme

The target URL is a brand theme or collection of brand themes related to the current resource.

canonical

The target URL is the primary location of the current resource (i.e. the current resource may be subordinate to another resource, and the target URL indicates its permanent location).

children

The target URL is a collection of resources that is subordinate to the current resource. That is, the current resource is a parent of the children, and the children belong to this resource.

client

The target URL is the location of the current resource in the Client Galleries website. The media type of the target URL is assumed to be text/html unless otherwise indicated.

client-admin

The target URL is the location of the studio client admin for the current resource in the Client Galleries website. The media type of the target URL is assumed to be text/html unless otherwise indicated.

collection

The target URL is the location of a collection of similar resources of which the current resource is a member.

contact

The target URL is a contact or collection of contacts related to the current resource.

contact-referee

The target URL is a list of available contacts that may be selected as referred by the current resource.

contact-referred-by

The target URL is a list of available contacts that may be selected as having referred the current resource.

contact-tag

The target URL is a list of contact tags available to apply to the current resource.

contract

The target URL is a contract or collection of contracts related to the current resource.

contract-signature

The target URL is a contract signature or collection of contract signatures related to the current resource.

contract-template

The target URL is a contract template or collection of contract templates related to the current resource.

derivedfrom

The target URL is the location of a resource from which the current resource is derived (or a subset of).

email

The target URL may be an email message or collection of email messages related to the current resource. It may also be used to create an email message related to the current resource.

email-automation-group

The target URL is an email automation group or collection of email automation groups related to the current resource.

email-template

The target URL is an email template or collection of email templates related to the current resource.

email-template-type

The target URL is an email template type or collection of email template types related to the current resource.

event

The target URL is an event or collection of events related to the current resource.

event-album

The target URL is an event album or collection of event albums related to the current resource.

event-album-passwords

The target URL is a listing of all passwords for all event albums related to the current resource. If the type indicates a different format (i.e. text/csv), then the URL is a link to a downloadable version of the target resource.

event-album-photo

The target URL is an event album photo or collection of event album photos related to the current resource.

event-archive-cost

The target URL is an event archive cost related to the current resource.

event-category

The target URL is an event category or collection of event categories related to the current resource.

event-contact

The target URL is an event contact or collection of event contacts related to the current resource.

event-contact-photo-favorite

The target URL is a photo or collection of photos related to the current resource and favorited by the context event contact.

event-contact-photo-hidden

The target URL is a photo or collection of photos related to the current resource and hidden by the context event contact.

event-contact-photo-share

The target URL is a photo or collection of photos related to the current resource and shared by the context event contact.

event-contact-photo-tag

The target URL is a photo or collection of photos related to the current resource and tagged by the context event contact.

When templated is true, this is a templated URL. The template parameter filterPhotoTag may be used with the tag name or a comma-separated list of tag names to filter tagged photo results.

event-defaults

The target URL is a set of event defaults settings or collection of more than one set of event defaults settings related to the current resource.

event-photo

The target URL is an event photo or collection of event photos related to the current resource.

event-photo-original

The target URL is the original uploaded photo related to the current resource.

event-photo-upload-policy

The target URL may be used to generate an event photo upload policy related to the current resource. This is the first step in the process to upload new event photos to an event resource.

event-visitor

The target URL is an event visitor or collection of event visitors related to the current resource.

invoice

The target URL is an invoice or collection of invoices related to the current resource.

invoice-credit-card

The target URL may be used to manipulate the invoice credit card related to the current resource. The current resource may be an invoice or may have an invoice related to it, for which the target URL may be used.

invoice-item-template

The target URL is an invoice item template or collection of invoice item templates related to the current resource.

invoice-payment

The target URL may be used to make an invoice payment related to the current resource. The current resource may be an invoice or may have an invoice related to it, for which the target URL may be used.

invoice-refund

The target URL may be used to make an invoice refund related to the current resource. The current resource may be an invoice or may have an invoice related to it, for which the target URL may be used.

invoice-template

The target URL is an invoice template or collection of invoice templates related to the current resource.

lab

The target URL is a lab related to the current resource.

lab-catalog

The target URL is a lab catalog or collection of lab catalogs related to the current resource.

lab-catalog-self-fulfilled

The target URL is a self-fulfilled lab catalog or collection of self-fulfilled lab catalogs related to the current resource.

lab-catalog-shipping-option

The target URL is a lab catalog shipping option or collection of lab catalog shipping options related to the current resource.

market-department

The target URL is a market department or collection of market departments related to the current resource.

market-product

The target URL is a market product or collection of market products related to the current resource.

market-vendor

The target URL is a market vendor or collection of market vendors related to the current resource.

me

The target URL is the profile for the authenticated access token.

Usually this is the Studio Panel user who has granted authorization and an access token.

mobile-app

The target URL is a mobile app or collection of mobile apps related to the current resource.

order

The target URL is an order or collection of orders related to the current resource.

order-payment

The target URL is an order payment or collection of order payments related to the current resource.

parent

The target URL identifies a parent resource for the current resource. It is often used on subordinate resources or collections to identify the resource to which they belong.

playlist

The target URL is a music playlist or collection of music playlists related to the current resource.

portal

The target URL is the location of the current resource in the Studio-Client Portal website. The media type of the target URL is assumed to be text/html unless otherwise indicated.

price-sheet

The target URL is a price sheet or collection of price sheets related to the current resource.

price-sheet-discount

The target URL is a price sheet discount or collection of price sheet discounts related to the current resource.

price-sheet-event

The target URL is an event associated to a price sheet or a collection of events associated to a price sheet related to the current resource.

price-sheet-item

The target URL is a collection of price sheet items related to the current resource.

price-sheet-item-image

The target URL is a collection of images associated to a price sheet item related to the current resource.

price-sheet-shipping-option

The target URL is a price sheet shipping option or collection of price sheet shipping options related to the current resource.

search

The target URL is a location that may be used to search or filter results for the current resource.

self

The target URL is the current resource's own location. It may not be the canonical location of the resource; if this is the case, the canonical relationship might be present to indicate the resource's canonical URL.

shorturl

The target URL may be used to create a shortened URL for use with social sharing.

signature

The target URL is a signature or collection of signatures related to the current resource.

token-replacement

The target URL may be used to replace tokens in the current resource. Tokens available to pass for replacement are indicated by the URI template parameters.

user-mfa

The target URL is a user's MFA configuration or collection of a user's MFA configurations related to the current resource. Tokens available to pass for replacement are indicated by the URI template parameters.

user-mfa-code

The target URL is a user's MFA code or collection of a user's MFA codes related to the current resource.

user-mfa-verification

The target URL is a user's MFA verification or collection of a user's MFA verifications related to the current resource.

volume-sort

The target URL is the status of the volume photography related sorting of the current resource.

watermark

The target URL is a watermark or collection of watermarks related to the current resource.

message read-only

The message may be used as the notification text. For example, if the notificationType is order-placed, the message might be “Jane Doe placed a new order.”

notificationGroup read-only

The notification group refers to the type of entity this notification relates to. For example, if the notificationType is event-photo-favorited-by-event-contact, the notificationGroup will be event since the notification is related to an event.

notificationType read-only

A string identifier to indicate the type of notification described by this entity. This identifier may be one of the following strings

ShootProof Identifier Description
contract-canceled The contract indicated by the contract link relation has been canceled.
contract-signed-by-client The contract indicated by the contract link relation was signed by the client.
event-favorites-list-finalized-by-event-contact The contact indicated by the contact link relation has asked the studio to review favorited photos for the event indicated by the event link relation.
event-photo-downloaded-by-event-contact The contact indicated by the contact link relation downloaded a photo for the event indicated by the event link relation.
event-photo-favorited-by-event-contact The contact indicated by the contact link relation favorited a photo for the event indicated by the event link relation.
event-photo-hidden-by-event-contact The contact indicated by the contact link relation marked a photo as “hidden” for the event indicated by the event link relation.
event-photo-tagged-by-event-contact The contact indicated by the contact link relation tagged a photo for the event indicated by the event link relation.
invoice-past-due The invoice indicated by the invoice link relation is past due.
invoice-payment-received The brand received a payment for the invoice indicated by the invoice link relation.
order-approval-prolonged The order indicated by the order link relation has been awaiting approval for a long period of time.
order-needs-approval The order indicated by the order link relation is awaiting approval.
order-placed The order indicated by the order link relation was just placed.
order-shipped-from-lab The order indicated by the order link relation was shipped from the lab.
studio-granted-archiving-space The studio was granted more archiving space.
studio-money-balance-increased The studio’s money balance increased.
studio-photo-plan-next-bill-date-increased The studio’s next billing date changed, often due to more free time added to their plan.
studio-profit-released The studio’s money was released to their bank account.
type

The type of resource represented.

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.

meta read-only

Metadata describing the current result set.

Property Description
currentPage

The current page of results returned.

rows

The number of rows returned per page for the current result set.

totalActiveNotifications

The total number of active (not dismissed) notifications for the authenticated user.

totalItems

The total number of items in the result set. This may be affected by active search/filter parameters.

totalPages

The total number of pages in the result set. This is affected by the rows parameter (totalItems / rows == totalPages).

type

The type of resource represented.

OpenAPI Schema

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

{
  "description": "A collection (or list) of resources.",
  "properties": {
    "items": {
      "description": "A collection of resources returned in the current result set.",
      "items": {
        "properties": {
          "attributes": {
            "deprecated": true,
            "description": "Attributes are key-value pairs of data related to the notification.\n\n_**WARNING!** This is a free-form bag of unstructured data. The properties\nand values should not be relied upon by implementations; they are subject\nto change._",
            "nullable": true,
            "readOnly": true,
            "type": "object"
          },
          "created": {
            "$ref": "#/components/schemas/Signature/properties/created"
          },
          "descriptor": {
            "description": "The value of the descriptor varies among notification types. In general,\nthe descriptor may be used as a label for the entity described in the\nnotification. For orders and invoices, the descriptor is often the total\ncurrency amount related to the notification. For contracts and events, the\ndescriptor is the name of the contract or event.",
            "readOnly": true,
            "type": "string"
          },
          "dismissed": {
            "description": "If the notification is dismissed, this will be `true`. Otherwise, it will\nbe `false`. Set `dismissed` to `true` to dismiss the notification.",
            "type": "boolean"
          },
          "id": {
            "$ref": "#/components/schemas/Id"
          },
          "links": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Links"
              },
              {
                "readOnly": true
              }
            ]
          },
          "message": {
            "description": "The message may be used as the notification text. For example, if the\n`notificationType` is `order-placed`, the `message` might be “Jane Doe\nplaced a new order.”",
            "readOnly": true,
            "type": "string"
          },
          "notificationGroup": {
            "description": "The notification group refers to the type of entity this notification\nrelates to. For example, if the `notificationType` is `event-photo-favorited-by-event-contact`,\nthe `notificationGroup` will be `event` since the notification is related\nto an event.",
            "enum": [
              "contract",
              "event",
              "invoice",
              "order",
              "studio"
            ],
            "readOnly": true,
            "type": "string"
          },
          "notificationType": {
            "description": "A string identifier to indicate the type of notification described\nby this entity. This identifier may be one of the following strings\n\n| ShootProof Identifier | Description |\n| --------------------- | ----------- |\n| `contract-canceled` | The contract indicated by the `contract` link relation has been canceled. |\n| `contract-signed-by-client` | The contract indicated by the `contract` link relation was signed by the client. |\n| `event-favorites-list-finalized-by-event-contact` | The contact indicated by the `contact` link relation has asked the studio to review favorited photos for the event indicated by the `event` link relation. |\n| `event-photo-downloaded-by-event-contact` | The contact indicated by the `contact` link relation downloaded a photo for the event indicated by the `event` link relation. |\n| `event-photo-favorited-by-event-contact` | The contact indicated by the `contact` link relation favorited a photo for the event indicated by the `event` link relation. |\n| `event-photo-hidden-by-event-contact` | The contact indicated by the `contact` link relation marked a photo as “hidden” for the event indicated by the `event` link relation. |\n| `event-photo-tagged-by-event-contact` | The contact indicated by the `contact` link relation tagged a photo for the event indicated by the `event` link relation. |\n| `invoice-past-due` | The invoice indicated by the `invoice` link relation is past due. |\n| `invoice-payment-received` | The brand received a payment for the invoice indicated by the `invoice` link relation. |\n| `order-approval-prolonged` | The order indicated by the `order` link relation has been awaiting approval for a long period of time.  |\n| `order-needs-approval` | The order indicated by the `order` link relation is awaiting approval. |\n| `order-placed` | The order indicated by the `order` link relation was just placed. |\n| `order-shipped-from-lab` | The order indicated by the `order` link relation was shipped from the lab. |\n| `studio-granted-archiving-space` | The studio was granted more archiving space.  |\n| `studio-money-balance-increased` | The studio’s money balance increased. |\n| `studio-photo-plan-next-bill-date-increased` | The studio’s next billing date changed, often due to more free time added to their plan. |\n| `studio-profit-released` | The studio’s money was released to their bank account. |",
            "enum": [
              "contract-canceled",
              "contract-signed-by-client",
              "event-favorites-list-finalized-by-event-contact",
              "event-photo-downloaded-by-event-contact",
              "event-photo-favorited-by-event-contact",
              "event-photo-hidden-by-event-contact",
              "event-photo-tagged-by-event-contact",
              "invoice-past-due",
              "invoice-payment-received",
              "order-approval-prolonged",
              "order-needs-approval",
              "order-placed",
              "order-shipped-from-lab",
              "studio-granted-archiving-space",
              "studio-money-balance-increased",
              "studio-photo-plan-next-bill-date-increased",
              "studio-profit-released"
            ],
            "readOnly": true,
            "type": "string"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Type"
              },
              {
                "enum": [
                  "notification"
                ]
              }
            ]
          }
        },
        "title": "Notification",
        "type": "object"
      },
      "title": "Notification",
      "type": "array"
    },
    "links": {
      "$ref": "#/components/schemas/Links"
    },
    "meta": {
      "description": "Metadata describing the current result set.",
      "properties": {
        "currentPage": {
          "description": "The current page of results returned.",
          "type": "integer"
        },
        "rows": {
          "description": "The number of rows returned per page for the current result set.",
          "type": "integer"
        },
        "totalActiveNotifications": {
          "description": "The total number of active (not dismissed) notifications for the\nauthenticated user.",
          "type": "integer"
        },
        "totalItems": {
          "description": "The total number of items in the result set. This may be\naffected by active search/filter parameters.",
          "type": "integer"
        },
        "totalPages": {
          "description": "The total number of pages in the result set. This is affected by\nthe `rows` parameter (`totalItems / rows == totalPages`).",
          "type": "integer"
        }
      },
      "readOnly": true,
      "type": "object"
    },
    "type": {
      "description": "The type of resource represented.",
      "enum": [
        "notification-collection"
      ],
      "example": "resource-type",
      "title": "Resource Type",
      "type": "string"
    }
  },
  "required": [
    "type",
    "items"
  ],
  "title": "Collection of Notifications",
  "type": "object"
}