List and Search Posts
Learn about various endpoints to list and search posts in a blog.
Overview
In this lesson, we'll look at various endpoints that'll enable us to retrieve a single blog post and a list of all blog posts. We'll also learn how to search for a post based on some search text.
Methods
List all posts
We can retrieve a list of all blog posts by making a GET
request to the following URL:
https://blogger.googleapis.com/v3/blogs/{blogId}/posts
We'll need to specify the blogId
of the blog whose posts we want to retrieve.
Request parameters
Get hands-on with 1200+ tech skills courses.