JSON Page Details List

Describes a list of the page details and identifiers for each content item contained within a specific content set entity.

Page details include the number of pages per media type, along with media specific properties including the name, size, width and height. Used specifically with the Content Set Entity service.

Structure

The structure consists of an array of objects each with the following name/value pairs:

  • id – the content item entity identifier (type of number)

  • pages – a list of the pages per media, consisting of an array of objects each with the following name/value pairs:

    • count – the number of pages using the specific media (type of number)

    • media – media specific properties, consisting of an object with the following name/value pairs:

      • name – the name of the media (type of string)

      • size – the size of the media (type of string)

      • width – the width of the media (type of string)

      • height – the height of the media (type of string)

Example

The following is an example of this structure:

[
    {
        "id": 12345,
        "pages": [
            {
                "count": 2,
                "media": {
                    "name": "Plain A4 Paper",
                    "size": "A4",
                    "width": "210mm",
                    "height": "297mm"
                }
            },
            {
                "count": 1,
                "media": {
                    "name": "Plain Letter Paper",
                    "size": "Letter",
                    "width": "8.5in",
                    "height": "11in"
                }
            }
        ]
    },
    {
        "id": 23456,
        "pages": [
            {
                "count": 2,
                "media": {
                    "name": "Plain A4 Paper",
                    "size": "A4",
                    "width": "210mm",
                    "height": "297mm"
                }
            },
            {
                "count": 2,
                "media": {
                    "name": "Plain Letter Paper",
                    "size": "Letter",
                    "width": "8.5in",
                    "height": "11in"
                }
            }
        ]
    }
]