mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 06:12:03 +03:00
5f1060a8bf
refs https://github.com/TryGhost/Ghost/issues/10318
refs 2614565d5a
- Renames to match referenced migration renames
- Fixed API responses so they are consistent with newly renamed fields
- Not returning lang and timezone keys from settings in API v2 ther rest should be returned in API v3/canary
242 lines
6.3 KiB
JSON
242 lines
6.3 KiB
JSON
{
|
|
"core": {
|
|
"db_hash": {
|
|
"defaultValue": null
|
|
},
|
|
"next_update_check": {
|
|
"defaultValue": null
|
|
},
|
|
"notifications": {
|
|
"defaultValue": "[]"
|
|
},
|
|
"session_secret": {
|
|
"defaultValue": null
|
|
},
|
|
"theme_session_secret": {
|
|
"defaultValue": null
|
|
},
|
|
"ghost_public_key": {
|
|
"defaultValue": null
|
|
},
|
|
"ghost_private_key": {
|
|
"defaultValue": null
|
|
},
|
|
"members_public_key": {
|
|
"defaultValue": null
|
|
},
|
|
"members_private_key": {
|
|
"defaultValue": null
|
|
},
|
|
"members_email_auth_secret": {
|
|
"defaultValue": null
|
|
}
|
|
},
|
|
"site": {
|
|
"title": {
|
|
"defaultValue": "Ghost",
|
|
"validations": {
|
|
"isLength": {
|
|
"max": 150
|
|
}
|
|
}
|
|
},
|
|
"description": {
|
|
"defaultValue": "The professional publishing platform",
|
|
"validations": {
|
|
"isLength": {
|
|
"max": 200
|
|
}
|
|
}
|
|
},
|
|
"logo": {
|
|
"defaultValue": "https://static.ghost.org/v1.0.0/images/ghost-logo.svg"
|
|
},
|
|
"cover_image": {
|
|
"defaultValue": "https://static.ghost.org/v3.0.0/images/publication-cover.png"
|
|
},
|
|
"icon": {
|
|
"defaultValue": ""
|
|
},
|
|
"accent_color": {
|
|
"defaultValue": ""
|
|
},
|
|
"lang": {
|
|
"defaultValue": "en",
|
|
"validations": {
|
|
"isEmpty": false
|
|
}
|
|
},
|
|
"timezone": {
|
|
"defaultValue": "Etc/UTC",
|
|
"validations": {
|
|
"isTimezone": true,
|
|
"isEmpty": false
|
|
}
|
|
},
|
|
"ghost_head": {
|
|
"defaultValue" : ""
|
|
},
|
|
"ghost_foot": {
|
|
"defaultValue" : ""
|
|
},
|
|
"facebook": {
|
|
"defaultValue" : "ghost"
|
|
},
|
|
"twitter": {
|
|
"defaultValue" : "tryghost"
|
|
},
|
|
"navigation": {
|
|
"defaultValue": "[{\"label\":\"Home\", \"url\":\"/\"},{\"label\":\"Tag\", \"url\":\"/tag/getting-started/\"}, {\"label\":\"Author\", \"url\":\"/author/ghost/\"},{\"label\":\"Help\", \"url\":\"https://ghost.org/docs/\"}]"
|
|
},
|
|
"secondary_navigation": {
|
|
"defaultValue": "[]"
|
|
},
|
|
"meta_title": {
|
|
"defaultValue": null,
|
|
"validations": {
|
|
"isLength": {
|
|
"max": 300
|
|
}
|
|
}
|
|
},
|
|
"meta_description": {
|
|
"defaultValue": null,
|
|
"validations": {
|
|
"isLength": {
|
|
"max": 500
|
|
}
|
|
}
|
|
},
|
|
"og_image": {
|
|
"defaultValue": null,
|
|
"validations": {
|
|
"isLength": {
|
|
"max": 2000
|
|
}
|
|
}
|
|
},
|
|
"og_title": {
|
|
"defaultValue": null,
|
|
"validations": {
|
|
"isLength": {
|
|
"max": 300
|
|
}
|
|
}
|
|
},
|
|
"og_description": {
|
|
"defaultValue": null,
|
|
"validations": {
|
|
"isLength": {
|
|
"max": 300
|
|
}
|
|
}
|
|
},
|
|
"twitter_image": {
|
|
"defaultValue": null,
|
|
"validations": {
|
|
"isLength": {
|
|
"max": 2000
|
|
}
|
|
}
|
|
},
|
|
"twitter_title": {
|
|
"defaultValue": null,
|
|
"validations": {
|
|
"isLength": {
|
|
"max": 300
|
|
}
|
|
}
|
|
},
|
|
"twitter_description": {
|
|
"defaultValue": null,
|
|
"validations": {
|
|
"isLength": {
|
|
"max": 300
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"theme": {
|
|
"active_theme": {
|
|
"defaultValue": "casper"
|
|
}
|
|
},
|
|
"private": {
|
|
"is_private": {
|
|
"defaultValue": "false",
|
|
"validations": {
|
|
"isIn": [["true", "false"]]
|
|
}
|
|
},
|
|
"password": {
|
|
"defaultValue": ""
|
|
},
|
|
"public_hash": {
|
|
"defaultValue": null
|
|
}
|
|
},
|
|
"members": {
|
|
"default_content_visibility": {
|
|
"defaultValue": "public"
|
|
},
|
|
"members_subscription_settings": {
|
|
"defaultValue": "{\"fromAddress\":\"noreply\",\"allowSelfSignup\":true,\"paymentProcessors\":[{\"adapter\":\"stripe\",\"config\":{\"secret_token\":\"\",\"public_token\":\"\",\"product\":{\"name\":\"Ghost Subscription\"},\"plans\":[{\"name\":\"Monthly\",\"currency\":\"usd\",\"interval\":\"month\",\"amount\":\"\"},{\"name\":\"Yearly\",\"currency\":\"usd\",\"interval\":\"year\",\"amount\":\"\"}]}}]}"
|
|
},
|
|
"stripe_connect_integration": {
|
|
"defaultValue": "{}"
|
|
}
|
|
},
|
|
"portal" : {
|
|
"portal_name": {
|
|
"defaultValue": "true",
|
|
"validations": {
|
|
"isEmpty": false,
|
|
"isIn": [["true", "false"]]
|
|
}
|
|
},
|
|
"portal_button": {
|
|
"defaultValue": "true",
|
|
"validations": {
|
|
"isEmpty": false,
|
|
"isIn": [["true", "false"]]
|
|
}
|
|
},
|
|
"portal_plans": {
|
|
"defaultValue": "[\"free\", \"monthly\", \"yearly\"]"
|
|
}
|
|
},
|
|
"email": {
|
|
"bulk_email_settings": {
|
|
"defaultValue": "{\"provider\":\"mailgun\", \"apiKey\": \"\", \"domain\": \"\", \"baseUrl\": \"\"}"
|
|
}
|
|
},
|
|
"amp": {
|
|
"amp": {
|
|
"defaultValue" : "true",
|
|
"validations": {
|
|
"isIn": [["true", "false"]]
|
|
}
|
|
}
|
|
},
|
|
"labs": {
|
|
"labs": {
|
|
"defaultValue": "{}"
|
|
}
|
|
},
|
|
"slack": {
|
|
"slack": {
|
|
"defaultValue": "[{\"url\":\"\", \"username\":\"Ghost\"}]"
|
|
}
|
|
},
|
|
"unsplash": {
|
|
"unsplash": {
|
|
"defaultValue": "{\"isActive\": true}"
|
|
}
|
|
},
|
|
"views": {
|
|
"shared_views": {
|
|
"defaultValue": "{}"
|
|
}
|
|
}
|
|
}
|