Example Usage
URL for Item Resources
https://www.arcgis.com/sharing/rest/content/items/0c66beb52dff4994be67937cdadbdb1f/resourcesDescription
All file resources of an existing item. The item resources that are set to private are available to item owners, organization administrators with portal privilege, and members of groups with item update capability. If an item resource is set to inherit, it maintains consistency with the parent item by inheriting the sharing permissions.
Request Parameters
| Parameter | Details |
|---|---|
| For a complete listing, see Common parameters. |
| For a complete list of paging parameters, see Paging parameters. |
| Field to sort by. Supported sort field: |
| Applies when working with Values: |
Response Properties
| Property | Details |
|---|---|
| The following paging properties are included in the response and they are described in Paging properties.
|
| A JSON array of resource objects along with the |
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>",
"created": <resource1 created datetime>,
"size": <resource1 size>
},
{
"resource": "<resource2>",
"created": <resource2 created datetime>,
"size": <resource2 size>
},
{
"resource": "<resource3>",
"created": <resource3 created datetime>,
"size": <resource3 size>
}
]
}JSON Response Example
{
"total": 3,
"start": 1,
"num": 3,
"nextStart": -1,
"resources": [
{
"resource": "image/banner.jpg",
"created": 1522711362000,
"size": 56945
},
{
"resource": "image/logo.jpg",
"created": 1522711377000,
"size": 4027
},
{
"resource": "text/desc.txt",
"created": 1522711400000,
"size": 14
}
]
}