ArcGIS REST API

Item Resource

Description

A specific file resource of an existing item.

Image format item resource like PNG, GIF and JPEG can be retrieved at different dimensions with specifying a URL parameter w for the desired image width. For example, https://<item-url>/resources/banner.jpg?w=400. Supported retrievable image widths are 100 pixels, 200 pixels, 400 pixels, 800 pixels, 1600 pixels, 2000 pixels and 2400 pixels with the original image aspect ratio. Other specified width will be snapped to the next highest supported dimension for query, or the original image will be retrieved by default without specifying a width.

Request Parameters

ParameterDetails
[Common Parameters]

For a complete listing, see Common parameters.

Example Usage

URL for Item Resource

https://www.arcgis.com/sharing/rest/content/users/jsmith/items/0c66beb52dff4994be67937cdadbdb1f/resources/image/banner.jpg or 
https://www.arcgis.com/sharing/rest/content/items/0c66beb52dff4994be67937cdadbdb1f/resources/image/banner.jpg