Ghost API : Posts + Pages

  • What version of Ghost are you using? Latest


I would like the ghost api to return posts and pages at the same time. Is it possible ?

/ghost/api/v3/content/posts+pages ? :slight_smile:

My theme use fuse.js and some js code for the search bar. The js code is not understandable, the variables are named a, b, c … So it would be much easier for me to modify the api address only, which is a Const variable.

Thanks !

Hi @Doubrovski. That is no possible on the API level. The best way to approach this problem imo would be to write a wrapper around Admin/Content API SDKs that combines the two for you.

1 Like