0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core
Fabien O'Carroll 7785fb6dc5 Refactored usage of pre v4 "unsplash" setting format
refs https://github.com/TryGhost/Ghost/issues/10318

- API changes introduced:

canary/v4 Admin API
GET /settings/ (browse)

+ "unsplash" present in response as boolean value

GET /settings/:settingName (read)

+ "unsplash" present in response as boolean value

PUT /settings/ (edit)

+ "unsplash" updates setting, accepts ONLY  boolean format

v3  Admin API
GET /settings/ (browse)

+ "unsplash" present in response with object value

GET /settings/:settingName (read)

+ "unsplash" present in response with object value

PUT /settings/ (edit)

+ "unsplash" updates setting, accepts either boolean or object formats

v2 Admin API
GET /settings/ (browse)

+ "unsplash" present in response with object value

GET /settings/:settingName (read)

+ "unsplash" present in response with object value

PUT /settings/ (edit)

+ "unsplash" updates setting, accepts object format
2021-02-18 10:55:59 +13:00
..
client@919bf3931d Updated Ghost-Admin to v4.0.0-alpha.2 2021-02-16 19:53:52 +00:00
frontend Updated portal to include accent color in preview mode 2021-02-17 13:49:41 +00:00
server Refactored usage of pre v4 "unsplash" setting format 2021-02-18 10:55:59 +13:00
shared Added portal url to config (#12645) 2021-02-12 23:01:41 +05:30
app.js Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
boot.js Fixed inactive themes not loading [WIP] 2021-02-15 17:19:21 +00:00
db.js Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
index.js Refactored server announce functions to be clearer 2020-08-09 17:25:15 +01:00