Skip To Content

/[resourceName]: Item Resource

  • URL:https://[root]/content/items/[itemID]/resources/[resourceName]
  • Version Introduced:

Example usage

URL for Item Resource

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

Description

A specific file resource of an existing item.

Image format item resources, such as PNG, single-frame GIF, and JPEG, can be retrieved at different dimensions by specifying a URL parameter w for the desired image width—for example, https://<root>/content/items/0c66beb52dff4994be67937cdadbdb1f/resources/banner.jpg?w=400. Supported retrievable image widths are 20 pixels, 50 pixels, 100 pixels, 200 pixels, 400 pixels, 600 pixels, 800 pixels, 1200 pixels, 1600 pixels, 2000 pixels, and 2400 pixels with the original image aspect ratio. Other specified widths 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.