/[resourceName]: Item Resource

URL:
https://[root]/content/items/[itemID]/resources/[resourceName]
Methods:
GET

Example usage

URL for Item Resource

Use dark colors for code blocksCopy
1
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://www.arcgis.com/sharing/rest/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 width s 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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.