Can we get an index of all the posts on a Ghost blog?

#1

Hi,

Do we have a way to get all the post titles and slugs (probably in JSON format) or something like that (like a sitemap)?

Of course, sitemap has all the URLs but there is no place to grab the title of that post with that.

My need is to have an index of posts in an Android app to provide offline search.

Thanks :slight_smile:

0 Likes

#2

Hi @truekasun,

Ghost has a Content API for this purpose.

1 Like

#3

Is there any way of getting all the posts without limiting? I mean if I don’t know how much records are there, I will probably not be able to set a limit. How can I make a request to retrieve all records?

0 Likes

#4

It’s all there in the docs :slight_smile:

1 Like

#5

Thank you very much! I was trying using limit=all on a resetlet client but did not get the result, that’s why I asked you. But it’s working when I try the URL on the browser.

Thanks again!

0 Likes

closed #6

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

0 Likes