Ghost/ghost/collections
Naz e8220b1387
Added DEL /collections/:id/posts/:post_id to Admin API
refs https://github.com/TryGhost/Team/issues/3260

- We need a way to remove posts form collections without fetching the whole collection's content. This API method allows to remove posts from manual collections by collection id and post id.
- As a response it returns up to date collection state without the removed post.
2023-06-01 14:59:05 +07:00
..
src Added DEL /collections/:id/posts/:post_id to Admin API 2023-06-01 14:59:05 +07:00
test Added DEL /collections/:id/posts/:post_id to Admin API 2023-06-01 14:59:05 +07:00
.eslintrc.js Update eslint and c8 to support using TS interfaces 2023-06-01 14:25:49 +07:00
package.json Update eslint and c8 to support using TS interfaces 2023-06-01 14:25:49 +07:00
README.md Added a collections package with CRUD logic 2023-05-16 12:21:31 +07:00
tsconfig.json Updated collections package to use .d.ts for external lib types 2023-05-24 12:47:20 -04:00

Collections

Manages everything to do with Collections

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests