0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/api
Fabien O'Carroll c9b8ddde4b 🎨Added absolute_url flag to public api (#9833)
closes #9832

The API _should_ be returning absolute URLs for everything, 3rd party applications require absolute urls to read and display ghost data correctly. Currently they have to concat the blog url and the resource url, which is very uncomfortable.

Changing the public api like this would be considered a breaking change however so we've opted to put it behind a query parameter named `absolute_urls`.
2018-08-31 11:02:39 +01:00
..
authentication.js ES6 migration: server/api (#9733) 2018-07-23 14:38:40 +02:00
clients.js ES6 migration: server/api (#9733) 2018-07-23 14:38:40 +02:00
configuration.js ES6 migration: server/api (#9756) 2018-07-30 12:28:05 +02:00
db.js Renamed core/server/data/export to core/server/data/exporter 2018-08-16 12:13:24 +02:00
index.js Added ability to resize and compress images on upload (#9837) 2018-08-30 17:30:36 +01:00
invites.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
mail.js Updated docs links 2018-08-16 12:13:24 +02:00
notifications.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
oembed.js Oembed meta tag fallback for unknown providers (#9827) 2018-08-27 15:02:03 +01:00
posts.js 🎨Added absolute_url flag to public api (#9833) 2018-08-31 11:02:39 +01:00
redirects.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
roles.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
schedules.js Moved zip folder, read csv and package-json to lib/fs 2017-12-14 22:07:53 +01:00
settings.js 🔥 Removed permalink setting 2018-08-16 12:13:24 +02:00
slack.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
slugs.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
subscribers.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
tags.js 🎨Added absolute_url flag to public api (#9833) 2018-08-31 11:02:39 +01:00
themes.js Fixed tests 2018-08-16 12:13:24 +02:00
upload.js Added ability to resize and compress images on upload (#9837) 2018-08-30 17:30:36 +01:00
users.js 🎨Added absolute_url flag to public api (#9833) 2018-08-31 11:02:39 +01:00
utils.js Changed comments and deprecation notes 2018-08-16 12:13:24 +02:00
webhooks.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00