getSetupStatus
# getSetupStatus
GET
/setup
const url = 'http://localhost:8080/api/v1/setup';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 http://localhost:8080/api/v1/setupResponses
Section titled “Responses”Whether first-run setup is still needed.
Media typeapplication/json
object
needsSetup
required
boolean
version
required
string
suggestedLocale
string
Examples
Exampleseed
Derived from fixtures/seed.json.
{ "needsSetup": false, "suggestedLocale": "th", "version": "1.0.0"}