Get setup wizard state
const url = 'https://example.com/api/v1/setup/state';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/setup/stateReturns the current wizard step, completion/dismissal status, prerequisite progress, and default database auto-link info used to render and resume the setup wizard.
Responses
Section titled “Responses”Setup state
object
object
Whether the wizard has been marked completed
Timestamp the wizard was dismissed, or null if never dismissed
Ordered setup wizard step
Setup prerequisite progress derived from real entity state
object
Whether at least one Arr instance has been connected
Whether at least one PCD database has been linked
Whether at least one instance has quality profile selections synced
Default database auto-link info used to render the link-database step
object
Whether PRAXRR_DEFAULT_DB_URL resolves to a non-empty value
Resolved default database URL, or null when not configured
Whether any PCD database is already linked
Example
{ "wizard": { "currentStep": "welcome" }}Setup has already been completed or dismissed