1e6f4ba340
no issue - Admin API v2 returned /404/, see comment in code base: /** * CASE: admin api should serve preview urls * * @NOTE * The url service has no clue of the draft/scheduled concept. It only generates urls for published resources. * Adding a hardcoded fallback into the url service feels wrong IMO. * * Imagine the site won't be part of core and core does not serve urls anymore. * Core needs to offer a preview API, which returns draft posts. * That means the url is no longer /p/:uuid, it's e.g. GET /api/v2/content/preview/:uuid/. * /p/ is a concept of the site, not of core. * * The site is not aware of existing drafts. It won't be able to get the uuid. * * Needs further discussion. */ |
||
---|---|---|
.. | ||
utils | ||
actions.js | ||
authors-public.js | ||
config.js | ||
db.js | ||
images.js | ||
index.js | ||
integrations.js | ||
invites.js | ||
mail.js | ||
members.js | ||
notifications.js | ||
oembed.js | ||
pages-public.js | ||
pages.js | ||
posts-public.js | ||
posts.js | ||
preview.js | ||
redirects.js | ||
roles.js | ||
session.js | ||
settings-public.js | ||
settings.js | ||
site.js | ||
slack.js | ||
slugs.js | ||
subscribers.js | ||
tags-public.js | ||
tags.js | ||
themes.js | ||
users.js | ||
webhooks.js |