URL:
https://<root>/community/users/[userName]/resources
Methods:
GET

Example usage

URL for User App Resources

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest/community/users/jsmith/resources

Description

The /resources endpoint will provide access to all user app resources.

Request parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

Response properties

PropertyDetails

[Paging Properties]

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

total, start, num, nextStart

userResources

A JSON array of resource objects along with the resource key, created and size information.

key

The resource key.

access

The type of access to user app resource. Setting the access type to UserAppPrivate means it is only available to the user thorugh the app from which the resource was uploaded. Setting it to AllOrgUsersPrivateApp means it is available to all members of an organization that the owner is a part of through the app where the resource was uploaded. Setting it to Public means it is available to everyone, including anonymous access, through any app. Setting it to UserPrivateAllApps means it is available thorugh any app but only to the user that uploaded the resource.

Values: UserAppPrivate | AllOrgUsersPrivateApp | Public | UserPrivateAllApps

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "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>,
  "userResources": [
    {
      "key": "<resource key>",
      "clientId": "<app where the resource is uploaded>",
      "created": <resource created datetime>,
      "size": <resource size>,
      "access": "<user app access>
    },
  ]
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "total": 3,
  "start": 1,
  "num": 3,
  "nextStart": -1,
  "userResources": [
    {
      "key": "user_settings.json",
      "clientId": "arcgisonline",
      "created": 1522711362000,
      "size": 56945,
      "access": "userappprivate"
    },

  ]
}

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