{"_id":"5448eee6cdc9442200488400","project":"543d1e263a300f20000d31fb","is_link":false,"user":"54352decadf50e0800b89024","__v":1,"parentDoc":null,"category":{"_id":"5448e2cbc64edd1a00453c29","version":"543d1e5e5276641a00a593cf","__v":4,"pages":["5448db04c64edd1a00453c17","543d213b5276641a00a593f6","5449059c3acc37080099e643","5448e105c64edd1a00453c23","5448ddd77018ed1400f60754","5448eee6cdc9442200488400","5448ef5dcdc9442200488404","54b91f7ac875cb0c00c36481"],"project":"543d1e263a300f20000d31fb","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-23T11:13:15.517Z","from_sync":false,"order":3,"slug":"catalog","title":"Catalog"},"editedParams":true,"version":{"_id":"543d1e5e5276641a00a593cf","forked_from":"543d1e263a300f20000d31fe","project":"543d1e263a300f20000d31fb","__v":16,"createdAt":"2014-10-14T13:00:14.946Z","releaseDate":"2014-10-14T13:00:14.946Z","categories":["543d1e5f5276641a00a593d0","543d1ee45276641a00a593da","5448e2cbc64edd1a00453c29","5449135acdc944220048845c","544a0a93778b3e08002b2289","544a0a9727b7fc140078da58","544a456f27b7fc140078daff","544e027cbd51b9080037f680","544e029ab80812080035bba6","544e3a2eb80812080035bd67","5450b7c5a66f020800dba7b3","5450c0e47abbbc0800a5e989","5450c0f97abbbc0800a5e98a","5450c103a66f020800dba819","54f99f588d09b7390007ea45","565c81dbf3e9360d00823e43"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"editedParams2":true,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-10-23T12:04:54.657Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"name":"","code":"[\n  {\n    \"thumb\": \"https://cdn.eta.dk/path/to/catalog/thumb-1.png\",\n    \"view\": \"https://cdn.eta.dk/path/to/catalog/view-1.png\",\n    \"zoom\": \"https://cdn.eta.dk/path/to/catalog/zoom-1.png\"\n  },\n  {\n    \"thumb\": \"https://cdn.eta.dk/path/to/catalog/thumb-2.png\",\n    \"view\": \"https://cdn.eta.dk/path/to/catalog/view-2.png\",\n    \"zoom\": \"https://cdn.eta.dk/path/to/catalog/zoom-2.png\"\n  }\n  /* Addtional pages */\n]","language":"json","status":200}]},"try":true,"basic_auth":false,"method":"get","auth":"never","params":[{"_id":"5448eee6cdc9442200488402","ref":"","in":"query","required":true,"desc":"API session token","default":"","type":"string","name":"_token"},{"_id":"544905ef3acc37080099e652","ref":"","in":"query","required":false,"desc":"The session signature, verifying your session. This is not required from a website.","default":"","type":"string","name":"_signature"},{"_id":"5448eee6cdc9442200488401","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"catalog_id"}],"url":"/v2/catalogs/:catalog_id/pages"},"isReference":false,"order":6,"body":"This endpoint returns a JSON array of page objects.\nEach page object contains URLs to images for that page.\n\nThe order of the pages is significant. The first catalog page is the first page object in the array, the second page is the second object, and so on.\n\nThe length of the array is always the number of pages in the catalog.\n\nEach page object contains keys that identify the image type.\n\nCurrently `thumb`, `view` and `zoom` is available.\n\nImages have bound guaranties that ensures that images will never be larger than the guaranteed dimensions.\nThe max dimensions are:\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Type\",\n    \"h-1\": \"Max Width\",\n    \"h-2\": \"Max Height\",\n    \"0-0\": \"thumb\",\n    \"0-1\": \"177 pixels\",\n    \"0-2\": \"212 pixels\",\n    \"1-0\": \"view\",\n    \"1-1\": \"768 pixels\",\n    \"1-2\": \"1004 pixels\",\n    \"2-0\": \"zoom\",\n    \"2-1\": \"1536 pixels\",\n    \"2-2\": \"2008 pixels\"\n  },\n  \"cols\": 3,\n  \"rows\": 3\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"WARNING\",\n  \"body\": \"The URLs might sometimes look like they can be constructed without requesting this endpoint. This will change in the future, and you MUST therefore always get the URLs from this endpoint.\"\n}\n[/block]","excerpt":"","slug":"catalog-page-images","type":"endpoint","title":"Catalog Page Images"}

getCatalog Page Images


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

catalog_id:
required
string

Query Params

_token:
required
string
API session token
_signature:
string
The session signature, verifying your session. This is not required from a website.

Result Format


Documentation

This endpoint returns a JSON array of page objects. Each page object contains URLs to images for that page. The order of the pages is significant. The first catalog page is the first page object in the array, the second page is the second object, and so on. The length of the array is always the number of pages in the catalog. Each page object contains keys that identify the image type. Currently `thumb`, `view` and `zoom` is available. Images have bound guaranties that ensures that images will never be larger than the guaranteed dimensions. The max dimensions are: [block:parameters] { "data": { "h-0": "Type", "h-1": "Max Width", "h-2": "Max Height", "0-0": "thumb", "0-1": "177 pixels", "0-2": "212 pixels", "1-0": "view", "1-1": "768 pixels", "1-2": "1004 pixels", "2-0": "zoom", "2-1": "1536 pixels", "2-2": "2008 pixels" }, "cols": 3, "rows": 3 } [/block] [block:callout] { "type": "warning", "title": "WARNING", "body": "The URLs might sometimes look like they can be constructed without requesting this endpoint. This will change in the future, and you MUST therefore always get the URLs from this endpoint." } [/block]