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
Home4. 🤦 Troubleshooting | Common mistakesAccess Living Atlas restricted content-Subscriber content

Access Living Atlas restricted content-Subscriber content

Number of APIs: 1

  1. ✅ Traffic layers using OAuth GET https://traffic.arcgis.com/arcgis/rest/services/World/Traffic/MapServer/export?dpi=96&transparent=true&format=png32&layers=show%3A2%2C3%2C4%2C7%2C10%2C11%2C12%2C15%2C18%2C19%2C20%2C23%2C26%2C27%2C28%2C31%2C46%2C47%2C48%2C43&token={{access_token}}&bbox=-5348233.645227578%2C-1783465.0549807104%2C-5320047.491047457%2C-1772954.963591513&bboxSR=102100&imageSR=102100&size=1475%2C550&f=image
Previous
✅ ArcGIS Platform w/ pay-as-you-go and OAuth
Next
✅ Traffic layers using OAuth