Hi,
I’m trying to extract blog-post’s content (both plain and rich text) with no success.
Following this section in the documentation, ‘contentId’ is the only related field returned in the response.
Both requests return the same response:
https://www.wixapis.com/blog/v3/posts/<post-id>
https://www.wixapis.com/blog/v3/posts/<post-id>?fieldsToInclude=[contentText]
As you can see below - no content what so ever
Thank you
The response:
{
"post": {
"id": "7291ac89-584c-48b9-a478-b8a8b6ecf19e",
"title": "Best street art locations in town",
"excerpt": "Create a blog post subtitle that summarizes your post in a few short, punchy sentences and entices your audience to continue reading....",
"firstPublishedDate": "2022-05-22T15:31:37.910Z",
"lastPublishedDate": "2022-05-22T15:31:37.910Z",
"slug": "best-street-art-locations-in-town",
"featured": false,
"pinned": false,
"categoryIds": [],
"coverMedia": {
"enabled": true,
"image": {
"id": "baac51_a2d635c97af849bab9c3fcdd91e7ad6f~mv2_d_5400_3132_s_4_2.jpg",
"url": "https://static.wixstatic.com/media/baac51_a2d635c97af849bab9c3fcdd91e7ad6f~mv2_d_5400_3132_s_4_2.jpg",
"height": 3132,
"width": 5400
},
"displayed": true,
"custom": false
},
"memberId": "2ae5a211-97fe-46ce-97b0-546c6848bc59",
"hashtags": [
"vacation",
"dream",
"summer"
],
"commentingEnabled": true,
"minutesToRead": 1,
"tagIds": [],
"pricingPlans": [],
"relatedPostIds": [],
"pricingPlanIds": [],
"language": "en",
"contentId": "628a6673269f8ce6b51d85cb",
"mostRecentContributorId": "2ae5a211-97fe-46ce-97b0-546c6848bc59",
"internalCategoryIds": [],
"internalRelatedPostIds": []
}
}