Search...
Generate a test token to explore our APIs
Get Total Posts
Developer Preview
Retrieves the amount of published posts for the requested blog.
Syntax
function GetTotal Posts(language: string): GetTotalPosts<_com_wixpress_npm_communities_platformized_blog_GetTotalPostsResponse>
Get Total Posts Parameters
NAME
TYPE
DESCRIPTION
language
string
Language filter
Returns
Return Type:
object
NAME
TYPE
DESCRIPTION
total
integer
Total amount of published posts.
Was this helpful?
Request
curl
Copy Code
1curl 'www.wixapis.com/blog/v2/stats/posts/total' \2 -H 'Content-Type: application/json' \3 -H 'Authorization: <AUTH>'
Response
json
1{"total": 9}