Ghost/core/server/api/v3/utils
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
..
serializers Refactored usage of pre v4 "unsplash" setting format 2021-02-18 10:55:59 +13:00
validators 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
index.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00
permissions.js 💡 Split the v3 endpoint from the canary endpoint 2021-01-22 16:32:03 +13:00