/proxies: Proxies

URL:
https://[root]/content/users/[userName]/items/[itemID]/proxies
Methods:
GET

Example usage

URL for Proxies

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest/content/users/jsmith/items/266800bbb6814b13be966c1c88a59c4c/proxies

Description

All ArcGIS Online hosted proxy services set on a registered app item with the Registered App type keyword. This resource is only available to the item owner and the organization administrator.

Request parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

Response properties

PropertyDetails

appProxies

A JSON array consisting of the hosted service URLs to proxy, proxy URLs, proxy IDs and rate limiting for each service.

Example:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
[{
  "sourceUrl": "https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",
  "proxyUrl": "https://utility.arcgis.com/sharing/appservices/23NxxdEqioSHtmDl/rest/services/World/Route/NAServer/Route_World",
  "proxyId": "23NxxdEqioSHtmDl"
  }, {
  "sourceUrl": "https://hydro.arcgis.com/arcgis/rest/services/Tools/Hydrology/GPServer",
  "proxyUrl": "https://utility.arcgis.com/sharing/appservices/j0e7E3hSGw1wQPWi/rest/services/Tools/Hydrology/GPServer",
  "hitsPerInterval": 100,
  "intervalSeconds": 60,
  "proxyId": "j0e7E3hSGw1wQPWi"
}]

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{"appProxies": [
    {
      "sourceUrl": "<hosted service URL to proxy1>",
      "proxyUrl": "<proxy URL1>",
      "proxyId": "proxy ID1"
    },
    {
      "sourceUrl": "<hosted service URL to proxy2>",
      "proxyUrl": "<proxy URL2>",
      "hitsPerInterval": number of requests allowed per time interval,
      "intervalSeconds": time interval in seconds,
      "proxyId": "proxy ID2"
    }
  ]}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{"appProxies": [
    {
      "sourceUrl": "https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",
      "proxyUrl": "https://utility.arcgis.com/sharing/appservices/23NxxdEqioSHtmDl/rest/services/World/Route/NAServer/Route_World",
      "proxyId": "23NxxdEqioSHtmDl"
    },
    {
      "sourceUrl": "https://hydro.arcgis.com/arcgis/rest/services/Tools/Hydrology/GPServer",
      "proxyUrl": "https://utility.arcgis.com/sharing/appservices/j0e7E3hSGw1wQPWi/rest/services/Tools/Hydrology/GPServer",
      "hitsPerInterval": 100,
      "intervalSeconds": 60,
      "proxyId": "j0e7E3hSGw1wQPWi"
    }
  ]}

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