mosaics

Map of the mosaic - every tile with its photo, position and size in pixels of the full file

get/mosaics/{id}/layout

Request

  • Base URL: https://api.collager.ai/v1
  • URL: https://api.collager.ai/v1/mosaics/{id}/layout
  • Auth: HTTP bearer

Path parameters

idstring required
Example:msc_7Hq2xV9aB3kL

Query parameters

format'json' | 'xml'

Response

The layout (JSON, or XML with ?format=xml).

object'layout' required
mosaic_idstring required
widthinteger required
heightinteger required
tile_countinteger required
levelsinteger

Example response

{
  "tiles": [
    {
      "avg_color": "#a0785a"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.