- URL:
- https://[root]/oauth2/registerApp
- Methods:
POST
Example Usage
https://www.arcgis.com/sharing/rest/oauth2/registerApp
Description
The register app operation (POST only) registers an app item with the portal. App registration results in an APPID and APPSECRET (also known as client
and client
in OAuth speak, respectively) being generated for that app. Upon successful registration, a Registered App
type keyword gets appended to the app item.
Available to the item owner.
Request parameters
Parameter | Details |
---|---|
| For a complete listing, see Common parameters. |
| The ID of the item being registered. The item must be owned by the user invoking this operation, otherwise the call will be rejected. Example:
|
| The type of app that was registered indicating whether it's a browser app, native app, server app, or a multiple interface app. Values: Example:
|
| The URIs where the A special value of The value is a JSON string array. Example:
|
| Referrers to which you want your tokens to be restricted to. The value is an Array of referrers. Token will be valid for requests that have referrer value from the list specified. Example:
|
| The registered app item's owner can provide access to specific items as a privilege. A maximum of 100 items are allowed. Example:
|
Response properties
The response represents the registered app and is the same as that of the Registered App resource.