Qodex.ai
Qodex.ai
Introduction
0. 🆔 ArcGIS identity
🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow with PKCE (SHA256) | ⭐ Recommended
1. URL to get user_code4. Exchange refresh_token
🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow with PKCE (plain)
1. URL to get user_code4. Exchange refresh_token
🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow
1. URL to get user_code4. Exchange refresh_token
🪪 OAuth 2.0 | ⭐ Recommended-🌐 Implicit Grant Flow | ⚠️ Read doc
Get token | ⚠️ Read doc
🪪 OAuth 2.0 | ⭐ Recommended-🧑‍🚀 Qodex (Authorization tab)
Test request | Get user content
🪪 OAuth 2.0 | ⭐ Recommended-🗑️ Revoke OAuth2 token
Remove token
🔑 ArcGIS token | Direct | ❗ Discouraged
Get token | ❗ Discouraged
1. 🔑 API Keys
🔑 2. Create an API key
1. Create API key item type2. Register item as API key
⚙️ 2. Update API key settings-Scope API Key to ready to use service
Scope API Key to ready to use service
⚙️ 2. Update API key settings-Add referrers
Add referrers
⚙️ 2. Update API key settings-Scope API Key to data
1. Add relationship2. Update scope
⚙️ 2. Update API key settings
Get client id
2. 🖥️ App credentials
🖥️ Get access token | OAuth 2.0 client credentials
Get access token
🗑️ Revoke OAuth 2.0 token
Remove token
3. 👤 Authentication | Self
User SelfPortal Self
4. 🤦 Troubleshooting | Common mistakes
Problems creating an item
Create an item with app credentials
Create hosted layers with app credentials
Create feature service
Scope private data with wrong account
✅ 1. Add relationship - Item from online acc.🚫 2. Update scope - Item from online acc.
Service with non API support
🚫 Standard: Batch geocoding using Access token✅ Enhanced: Batch geocoding using Access token
Geometry service using access token
✅ Calculate a buffer without API key
Access Living Atlas restricted content-Premium content
✅ ArcGIS Platform w/ pay-as-you-go and OAuth
Access Living Atlas restricted content-Subscriber content
✅ Traffic layers using OAuth
Spatial analysis using API keys
✅ Spatial analysis using OAuth
Introduction
0. 🆔 ArcGIS identity
🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow with PKCE (SHA256) | ⭐ Recommended
1. URL to get user_code4. Exchange refresh_token
🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow with PKCE (plain)
1. URL to get user_code4. Exchange refresh_token
🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow
1. URL to get user_code4. Exchange refresh_token
🪪 OAuth 2.0 | ⭐ Recommended-🌐 Implicit Grant Flow | ⚠️ Read doc
Get token | ⚠️ Read doc
🪪 OAuth 2.0 | ⭐ Recommended-🧑‍🚀 Qodex (Authorization tab)
Test request | Get user content
🪪 OAuth 2.0 | ⭐ Recommended-🗑️ Revoke OAuth2 token
Remove token
🔑 ArcGIS token | Direct | ❗ Discouraged
Get token | ❗ Discouraged
1. 🔑 API Keys
🔑 2. Create an API key
1. Create API key item type2. Register item as API key
⚙️ 2. Update API key settings-Scope API Key to ready to use service
Scope API Key to ready to use service
⚙️ 2. Update API key settings-Add referrers
Add referrers
⚙️ 2. Update API key settings-Scope API Key to data
1. Add relationship2. Update scope
⚙️ 2. Update API key settings
Get client id
2. 🖥️ App credentials
🖥️ Get access token | OAuth 2.0 client credentials
Get access token
🗑️ Revoke OAuth 2.0 token
Remove token
3. 👤 Authentication | Self
User SelfPortal Self
4. 🤦 Troubleshooting | Common mistakes
Problems creating an item
Create an item with app credentials
Create hosted layers with app credentials
Create feature service
Scope private data with wrong account
✅ 1. Add relationship - Item from online acc.🚫 2. Update scope - Item from online acc.
Service with non API support
🚫 Standard: Batch geocoding using Access token✅ Enhanced: Batch geocoding using Access token
Geometry service using access token
✅ Calculate a buffer without API key
Access Living Atlas restricted content-Premium content
✅ ArcGIS Platform w/ pay-as-you-go and OAuth
Access Living Atlas restricted content-Subscriber content
✅ Traffic layers using OAuth
Spatial analysis using API keys
✅ Spatial analysis using OAuth
Home0. 🆔 ArcGIS identity🪪 OAuth 2.0 | ⭐ Recommended-🧑‍🚀 Qodex (Authorization tab)

🪪 OAuth 2.0 | ⭐ Recommended-🧑‍🚀 Qodex (Authorization tab)

Number of APIs: 1

  1. Test request | Get user content GET https://www.arcgis.com/sharing/rest/content/users/{{username}}?f=json&token={{access_token}}
Previous
Get token | ⚠️ Read doc
Next
Test request | Get user content