Skip to main content
GET
/
auth
/
config
Get client configuration
curl --request GET \
  --url https://api.diversion.dev/v0/auth/config \
  --header 'Authorization: Bearer <token>'
{
  "cache_url": "<string>",
  "update_url": "<string>",
  "sentry_dsn_agent": "https://[email protected]/project1",
  "sentry_dsn_cli": "https://[email protected]/project2",
  "sentry_dsn_desktop": "https://[email protected]/project3",
  "sentry_dsn_webapp": "https://[email protected]/project4"
}

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Response

Configuration retrieved successfully

Response containing client configuration information

cache_url
string<uri>

Optional URL for cache service configuration

update_url
string<uri>

Optional URL for update service configuration

sentry_dsn_agent
string

Sentry DSN URL for agent client error tracking

Example:

"https://[email protected]/project1"

sentry_dsn_cli
string

Sentry DSN URL for CLI client error tracking

Example:

"https://[email protected]/project2"

sentry_dsn_desktop
string

Sentry DSN URL for desktop app client error tracking

Example:

"https://[email protected]/project3"

sentry_dsn_webapp
string

Sentry DSN URL for web app client error tracking

Example:

"https://[email protected]/project4"