Proxy

Description

An ArcGIS Online hosted proxy set on a registered app item based on the proxyId. It is only available to the item owner and the organization administrator.

Request Parameters

Parameter

Details

[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

Property

Details

sourceUrl

Hosted service URL to proxy.

proxyUrl

Proxy service URL.

hitsPerInterval

The number of requests allowed per time interval, if rate limiting is set for the proxy.

intervalSeconds

Time interval in seconds to work with hitsPerInterval, if rate limiting is set for the proxy.

proxyId

Proxy ID.

Example Usage

URL for Proxy

http://www.arcgis.com/sharing/rest/content/users/jsmith/items/266800bbb6814b13be966c1c88a59c4c/proxies/j0e7E3hSGw1wQPWi

JSON Response Syntax

{
      "sourceUrl": "<hosted service URL to proxy>",
      "proxyUrl": "<proxy URL>",
      "hitsPerInterval": number of requests allowed per time interval,
      "intervalSeconds": time interval in seconds,
      "proxyId": "proxy ID"
    }

JSON Response Example

{
      "sourceUrl": "https://hydro.arcgis.com/arcgis/rest/services/Tools/Hydrology/GPServer",
      "proxyUrl": "http://utility.arcgis.com/sharing/appservices/j0e7E3hSGw1wQPWi/rest/services/Tools/Hydrology/GPServer",
      "hitsPerInterval": 100,
      "intervalSeconds": 60,
      "proxyId": "j0e7E3hSGw1wQPWi"
    }

7/5/2017