- URL:
- https://[root]oauth2/apps/[clientID]
- Methods:
POST
Example usage
URL for Registerd App
https://www.arcgis.com/sharing/rest/oauth2/apps/GGjeDjEY6kKEiDmX
Description
An app registered with the portal. An app item can be registered by invoking the register app operation. Every registered app gets an App ID and App Secret which in OAuth speak are known as client_
and client_
respectively.
The app owner has access to the registered app resource. This would include the organization administrator as well.
Request Parameters
Parameter | Details |
---|---|
| For a complete listing, see Common parameters. |
Response Properties
Property | Details |
---|---|
| The ID of the registered application. Also referred to as APPID. |
| The secret of the registered application. Also referred to as APPSECRET. |
| 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:
|
| The date when the app was created (in UNIX time in milliseconds). |
| The date when the app was last modified (in UNIX time in milliseconds). |
JSON Response syntax
{
"itemId": "<itemId>",
"client_id": "<client_id>",
"client_secret": "<client_secret>",
"appType": "<appType>",
"redirect_uris": [
"<redirect_uri1>",
"<redirect_uri2>"
],
"registered": <registered>,
"modified": <modified>
}
JSON Response example
{
"itemId": "e52db2cdc16640a0b1c69727abdf48c8",
"client_id": "GGjeDjEY6kKEiDmX",
"client_secret": "e2b8958384c74d3a9f09e988d782b473",
"appType": "browser",
"redirect_uris": [
"https://*.arcgis.com",
"urn:ietf:wg:oauth:2.0:oob"
],
"registered": 1380561095000,
"modified": 1380561095000
}