listPosts( )


Retrieves a list of published posts.

について listPosts() function returns a Promise that resolves to a list of up to 100 published posts.

Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.

By default, the list is sorted by firstPublishedDate in descending order, and the amount of posts returned is 50.

Permissions
Manage Blog
Read Blog
Read Draft Blog Posts
Learn more about app permissions.
メソッド宣言
コピー
メソッド・パラメータ
optionsListPostsOptions

Sort, filter, and paging options.

リターン
Return Type:Promise<ListPostsResponse>
役に立ちましたか?
はい
いいえ