0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/api/v2
Katharina Irrgang dfd350bd69
Cleaned up Admin API v2 posts/pages input serializer (#10516)
no issue

- make use of filter instead of status=all or data.page
- nql was designed to filter data on database layer
- do not break v0.1
- we just got rid of the "status" query param, you should use the filter instead
- get rid of the ugly condition to remove page field if "fields" param was used
- allow filtering on model layer for "findOne"
  - do not allow filtering for "findOne" on API layer for now
  - the API controller defines what is allowed
  - the model layer can allow more by default
  - we can re-use the powerful filter logic without adding hacks
2019-02-22 12:07:34 +01:00
..
utils Cleaned up Admin API v2 posts/pages input serializer (#10516) 2019-02-22 12:07:34 +01:00
actions.js Added v2 actions endpoint 2019-02-06 21:36:09 +01:00
authors.js Removed "status" query option from Authors Content API v2 2019-02-21 12:24:16 +01:00
configuration.js Removed client credentials from Admin API v2 (#10485) 2019-02-13 13:51:51 +00:00
db.js 🐛 Fixed broken content import in Admin API v2 (#10299) 2018-12-20 11:01:48 +01:00
index.js Separated pages & posts in Admin API v2 (#10494) 2019-02-22 10:17:14 +07:00
integrations.js Added HTTP BREAD for integrations resource (#9985) 2018-10-18 14:03:56 +01:00
invites.js Removed x_by fields from API v2 response 2019-01-03 16:38:52 +01:00
mail.js Updated docs links to best equivalents (#10386) 2019-01-17 06:57:37 +00:00
members.js Added new admin API for members (#10435) 2019-01-30 17:06:09 +05:30
notifications.js
oembed.js Added oembed controller to v2 api (#10057) 2018-11-02 09:32:26 +01:00
pages-public.js Separated pages & posts in Admin API v2 (#10494) 2019-02-22 10:17:14 +07:00
pages.js Separated pages & posts in Admin API v2 (#10494) 2019-02-22 10:17:14 +07:00
posts-public.js Separated pages & posts in Admin API v2 (#10494) 2019-02-22 10:17:14 +07:00
posts.js Separated pages & posts in Admin API v2 (#10494) 2019-02-22 10:17:14 +07:00
preview.js Separated pages & posts in Admin API v2 (#10494) 2019-02-22 10:17:14 +07:00
redirects.js Migrated redirects controller to API v2 (#10053) 2019-01-07 11:32:53 +00:00
roles.js
session.js Added spam prevention for v2 sessions (#10030) 2018-10-18 09:58:29 +01:00
settings-public.js 🗑Deprecated ghost_head & ghost_foot in favour of codeinjection_* for Settings API v2 (#10380) 2019-01-15 13:03:17 +01:00
settings.js Refactored content-disposition header handling in API v2 (#10374) 2019-01-14 18:05:16 +00:00
slack.js Added slack controller to v2 API (#10086) 2018-11-06 23:20:43 +01:00
slugs.js
subscribers.js 🐛 Fixed files staying in temp directory after upload is done 2019-01-30 09:24:29 +00:00
tags-public.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
tags.js Skiped 'all' validations for posts/tags endpoints 2019-02-15 12:19:49 +00:00
themes.js Added back "theme.uploaded" analytics event (#10450) 2019-02-05 17:38:40 +01:00
upload.js 🐛 Fixed files staying in temp directory after upload is done 2019-01-30 09:24:29 +00:00
users.js Separated pages & posts in Admin API v2 (#10494) 2019-02-22 10:17:14 +07:00
webhooks.js Required "event" & "target_url" for webhook creation 2019-02-07 23:21:59 +01:00