Skip to content
getgeolens.com

Dry Run Configuration

POST
/config-ops/dry-run/
curl --request POST \
--url 'https://example.com/api/config-ops/dry-run/?mode=merge' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "settings": {}, "oauth_providers": [ {} ] }'

Preview what an import would change without applying any modifications.

mode
Mode
string
default: merge
Allowed values: merge overwrite
Media type application/json
ConfigImportRequest

Payload for importing configuration.

object
settings
Any of:
object
key
additional properties
any
oauth_providers
Any of:
Array<object>
object
key
additional properties
any
Example generated
{
"settings": {},
"oauth_providers": [
{}
]
}

Successful Response

Media type application/json
DryRunResponse

Result of a dry-run import showing what would change.

object
settings
required
Settings

Per-setting diff result keyed by setting name.

object
key
additional properties
any
oauth_providers
required
Oauth Providers

Per-provider diff result keyed by slug.

object
key
additional properties
any
Example generated
{
"settings": {},
"oauth_providers": {}
}

Bad request — invalid query parameters or payload

Unauthorized — missing or invalid credentials

Forbidden — caller lacks access to this resource

Not found

Validation error

Internal server error