Item Resources

Description

All file resources of an existing item. This resource is only available to the item owner and the organization administrator.

Request Parameters

Parameter

Details

[Common Parameters]

For a complete listing, see Common parameters.

[Paging Parameters]

For a complete list of paging parameters, see Paging parameters.

Response Properties

Property

Details

[Paging Properties]

The following paging properties are included in the response and they are described in Paging properties.

total, start, num, nextStart

resources

A JSON array of resource objects.

Example Usage

URL for Item Resources

http://www.arcgis.com/sharing/rest/content/users/jsmith/items/0c66beb52dff4994be67937cdadbdb1f/resources or 
http://www.arcgis.com/sharing/rest/content/items/0c66beb52dff4994be67937cdadbdb1f/resources

JSON Response Syntax

{
  "total": <total number of resources on the item>,
  "start": <the first record index in the response>,
  "num": <the number of resources in the response>,
  "nextStart": <the next entry index>,
  "resources": [
    {
      "resource": "<resource1>"
    },
    {
      "resource": "<resource2>"
    },
    {
      "resource": "<resource3>"
    }
  ]
}

JSON Response Example

{
  "total": 3,
  "start": 1,
  "num": 3,
  "nextStart": -1,
  "resources": [
    {
      "resource": "image/banner.jpg"
    },
    {
      "resource": "image/logo.jpg"
    },
    {
      "resource": "text/desc.txt"
    }
  ]
}

10/6/2017