GET assets/{id}/gallery

Get asset's media gallery

Request

URL ( doesn't require authentication )

https://api.crexi.com/assets/{id}/gallery?imagesOnly={imagesOnly}

Parameters

id

integer

Asset Id

Required

imagesOnly

boolean

Returns only images if set to true

Optional

Default value is True

Response

Details

Returns an HTTP 200 OK and Asset's gallery if Id parameter was correct. Returns 400 Bad Request and an error message otherwise.

Data fields

BigTnUrl

string

EmbedCode

string

Id

integer

ImageUrl

string

MediumTnUrl

string

Name

string

SmallTnUrl

string

Type

string

WideTnUrl

string

Example

JSON

[
  {
    "BigTnUrl": "sample string 5",
    "EmbedCode": "sample string 2",
    "Id": 1,
    "ImageUrl": "sample string 3",
    "MediumTnUrl": "sample string 6",
    "Name": "sample string 1",
    "SmallTnUrl": "sample string 7",
    "Type": "sample string 2",
    "WideTnUrl": "sample string 4"
  },
  {
    "BigTnUrl": "sample string 5",
    "EmbedCode": "sample string 2",
    "Id": 1,
    "ImageUrl": "sample string 3",
    "MediumTnUrl": "sample string 6",
    "Name": "sample string 1",
    "SmallTnUrl": "sample string 7",
    "Type": "sample string 2",
    "WideTnUrl": "sample string 4"
  }
]