GET api/social/blogs/{id}?o={o}&l={l}&title={title}
Fetch blogs with filters
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
authenticated user id to get blogs |
integer |
Required |
o |
offset number |
integer |
Required |
l |
limit |
integer |
Required |
title |
title to search blog |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, returns list of blogs. On failure, return empty list failure reason.
WixBlogRespName | Description | Type | Additional information |
---|---|---|---|
blogs |
list of blogs |
Collection of WixBlog |
None. |
resp_code |
Lifetrons response code |
string |
None. |
resp_msg |
Lifetrons response message |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "blogs": [ { "author": "sample string 1", "viewCount": 2, "excerpt": "sample string 3", "timeToRead": 4, "_id": "sample string 5", "tags": [ {}, {} ], "featured": true, "slug": "sample string 7", "coverImage": "sample string 8", "plainContent": "sample string 9", "commentCount": 10, "language": "sample string 11", "publishedDate": "2025-06-18T22:01:03.4644734+00:00", "PublishedDateOn": 13.1, "pinned": true, "categories": [ {}, {} ], "richContent": { "nodes": [ { "type": "sample string 1", "id": "sample string 2", "imageData": { "image": { "src": { "id": "sample string 1" }, "width": 1, "height": 2 }, "disableDownload": true, "altText": "sample string 2", "disableExpand": true } }, { "type": "sample string 1", "id": "sample string 2", "imageData": { "image": { "src": { "id": "sample string 1" }, "width": 1, "height": 2 }, "disableDownload": true, "altText": "sample string 2", "disableExpand": true } } ], "metadata": { "version": 1, "createdTimestamp": "2025-06-18T22:01:03.4644734+00:00", "updatedTimestamp": "2025-06-18T22:01:03.4644734+00:00", "id": "sample string 4" }, "documentStyle": {} }, "paidPlans": [ {}, {} ], "postPageUrl": "sample string 15", "coverImageDisplayed": true, "title": "sample string 17", "lastPublishedDate": "2025-06-18T22:01:03.4644734+00:00", "LastPublishedDateOn": 19.1, "internalId": "sample string 20", "relatedPosts": [ {}, {} ], "hashtags": [ {}, {} ], "likeCount": 21 }, { "author": "sample string 1", "viewCount": 2, "excerpt": "sample string 3", "timeToRead": 4, "_id": "sample string 5", "tags": [ {}, {} ], "featured": true, "slug": "sample string 7", "coverImage": "sample string 8", "plainContent": "sample string 9", "commentCount": 10, "language": "sample string 11", "publishedDate": "2025-06-18T22:01:03.4644734+00:00", "PublishedDateOn": 13.1, "pinned": true, "categories": [ {}, {} ], "richContent": { "nodes": [ { "type": "sample string 1", "id": "sample string 2", "imageData": { "image": { "src": { "id": "sample string 1" }, "width": 1, "height": 2 }, "disableDownload": true, "altText": "sample string 2", "disableExpand": true } }, { "type": "sample string 1", "id": "sample string 2", "imageData": { "image": { "src": { "id": "sample string 1" }, "width": 1, "height": 2 }, "disableDownload": true, "altText": "sample string 2", "disableExpand": true } } ], "metadata": { "version": 1, "createdTimestamp": "2025-06-18T22:01:03.4644734+00:00", "updatedTimestamp": "2025-06-18T22:01:03.4644734+00:00", "id": "sample string 4" }, "documentStyle": {} }, "paidPlans": [ {}, {} ], "postPageUrl": "sample string 15", "coverImageDisplayed": true, "title": "sample string 17", "lastPublishedDate": "2025-06-18T22:01:03.4644734+00:00", "LastPublishedDateOn": 19.1, "internalId": "sample string 20", "relatedPosts": [ {}, {} ], "hashtags": [ {}, {} ], "likeCount": 21 } ], "resp_code": "sample string 1", "resp_msg": "sample string 2" }
application/xml, text/xml
Sample:
<WixBlogResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models"> <resp_code>sample string 1</resp_code> <resp_msg>sample string 2</resp_msg> <blogs xmlns:d2p1="http://schemas.datacontract.org/2004/07/CommonClasses.WixModels"> <d2p1:WixBlog> <d2p1:LastPublishedDateOn>19.1</d2p1:LastPublishedDateOn> <d2p1:PublishedDateOn>13.1</d2p1:PublishedDateOn> <d2p1:_id>sample string 5</d2p1:_id> <d2p1:author>sample string 1</d2p1:author> <d2p1:categories xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </d2p1:categories> <d2p1:commentCount>10</d2p1:commentCount> <d2p1:coverImage>sample string 8</d2p1:coverImage> <d2p1:coverImageDisplayed>true</d2p1:coverImageDisplayed> <d2p1:excerpt>sample string 3</d2p1:excerpt> <d2p1:featured>true</d2p1:featured> <d2p1:hashtags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </d2p1:hashtags> <d2p1:internalId>sample string 20</d2p1:internalId> <d2p1:language>sample string 11</d2p1:language> <d2p1:lastPublishedDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2025-06-18T22:01:03.4644734Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </d2p1:lastPublishedDate> <d2p1:likeCount>21</d2p1:likeCount> <d2p1:paidPlans xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </d2p1:paidPlans> <d2p1:pinned>true</d2p1:pinned> <d2p1:plainContent>sample string 9</d2p1:plainContent> <d2p1:postPageUrl>sample string 15</d2p1:postPageUrl> <d2p1:publishedDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2025-06-18T22:01:03.4644734Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </d2p1:publishedDate> <d2p1:relatedPosts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </d2p1:relatedPosts> <d2p1:richContent> <d2p1:documentStyle /> <d2p1:metadata> <d2p1:createdTimestamp xmlns:d6p1="http://schemas.datacontract.org/2004/07/System"> <d6p1:DateTime>2025-06-18T22:01:03.4644734Z</d6p1:DateTime> <d6p1:OffsetMinutes>0</d6p1:OffsetMinutes> </d2p1:createdTimestamp> <d2p1:id>sample string 4</d2p1:id> <d2p1:updatedTimestamp xmlns:d6p1="http://schemas.datacontract.org/2004/07/System"> <d6p1:DateTime>2025-06-18T22:01:03.4644734Z</d6p1:DateTime> <d6p1:OffsetMinutes>0</d6p1:OffsetMinutes> </d2p1:updatedTimestamp> <d2p1:version>1</d2p1:version> </d2p1:metadata> <d2p1:nodes> <d2p1:WixBlogRichContentNode> <d2p1:id>sample string 2</d2p1:id> <d2p1:imageData> <d2p1:altText>sample string 2</d2p1:altText> <d2p1:disableDownload>true</d2p1:disableDownload> <d2p1:disableExpand>true</d2p1:disableExpand> <d2p1:image> <d2p1:height>2</d2p1:height> <d2p1:src> <d2p1:id>sample string 1</d2p1:id> </d2p1:src> <d2p1:width>1</d2p1:width> </d2p1:image> </d2p1:imageData> <d2p1:type>sample string 1</d2p1:type> </d2p1:WixBlogRichContentNode> <d2p1:WixBlogRichContentNode> <d2p1:id>sample string 2</d2p1:id> <d2p1:imageData> <d2p1:altText>sample string 2</d2p1:altText> <d2p1:disableDownload>true</d2p1:disableDownload> <d2p1:disableExpand>true</d2p1:disableExpand> <d2p1:image> <d2p1:height>2</d2p1:height> <d2p1:src> <d2p1:id>sample string 1</d2p1:id> </d2p1:src> <d2p1:width>1</d2p1:width> </d2p1:image> </d2p1:imageData> <d2p1:type>sample string 1</d2p1:type> </d2p1:WixBlogRichContentNode> </d2p1:nodes> </d2p1:richContent> <d2p1:slug>sample string 7</d2p1:slug> <d2p1:tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </d2p1:tags> <d2p1:timeToRead>4</d2p1:timeToRead> <d2p1:title>sample string 17</d2p1:title> <d2p1:viewCount>2</d2p1:viewCount> </d2p1:WixBlog> <d2p1:WixBlog> <d2p1:LastPublishedDateOn>19.1</d2p1:LastPublishedDateOn> <d2p1:PublishedDateOn>13.1</d2p1:PublishedDateOn> <d2p1:_id>sample string 5</d2p1:_id> <d2p1:author>sample string 1</d2p1:author> <d2p1:categories xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </d2p1:categories> <d2p1:commentCount>10</d2p1:commentCount> <d2p1:coverImage>sample string 8</d2p1:coverImage> <d2p1:coverImageDisplayed>true</d2p1:coverImageDisplayed> <d2p1:excerpt>sample string 3</d2p1:excerpt> <d2p1:featured>true</d2p1:featured> <d2p1:hashtags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </d2p1:hashtags> <d2p1:internalId>sample string 20</d2p1:internalId> <d2p1:language>sample string 11</d2p1:language> <d2p1:lastPublishedDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2025-06-18T22:01:03.4644734Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </d2p1:lastPublishedDate> <d2p1:likeCount>21</d2p1:likeCount> <d2p1:paidPlans xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </d2p1:paidPlans> <d2p1:pinned>true</d2p1:pinned> <d2p1:plainContent>sample string 9</d2p1:plainContent> <d2p1:postPageUrl>sample string 15</d2p1:postPageUrl> <d2p1:publishedDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2025-06-18T22:01:03.4644734Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </d2p1:publishedDate> <d2p1:relatedPosts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </d2p1:relatedPosts> <d2p1:richContent> <d2p1:documentStyle /> <d2p1:metadata> <d2p1:createdTimestamp xmlns:d6p1="http://schemas.datacontract.org/2004/07/System"> <d6p1:DateTime>2025-06-18T22:01:03.4644734Z</d6p1:DateTime> <d6p1:OffsetMinutes>0</d6p1:OffsetMinutes> </d2p1:createdTimestamp> <d2p1:id>sample string 4</d2p1:id> <d2p1:updatedTimestamp xmlns:d6p1="http://schemas.datacontract.org/2004/07/System"> <d6p1:DateTime>2025-06-18T22:01:03.4644734Z</d6p1:DateTime> <d6p1:OffsetMinutes>0</d6p1:OffsetMinutes> </d2p1:updatedTimestamp> <d2p1:version>1</d2p1:version> </d2p1:metadata> <d2p1:nodes> <d2p1:WixBlogRichContentNode> <d2p1:id>sample string 2</d2p1:id> <d2p1:imageData> <d2p1:altText>sample string 2</d2p1:altText> <d2p1:disableDownload>true</d2p1:disableDownload> <d2p1:disableExpand>true</d2p1:disableExpand> <d2p1:image> <d2p1:height>2</d2p1:height> <d2p1:src> <d2p1:id>sample string 1</d2p1:id> </d2p1:src> <d2p1:width>1</d2p1:width> </d2p1:image> </d2p1:imageData> <d2p1:type>sample string 1</d2p1:type> </d2p1:WixBlogRichContentNode> <d2p1:WixBlogRichContentNode> <d2p1:id>sample string 2</d2p1:id> <d2p1:imageData> <d2p1:altText>sample string 2</d2p1:altText> <d2p1:disableDownload>true</d2p1:disableDownload> <d2p1:disableExpand>true</d2p1:disableExpand> <d2p1:image> <d2p1:height>2</d2p1:height> <d2p1:src> <d2p1:id>sample string 1</d2p1:id> </d2p1:src> <d2p1:width>1</d2p1:width> </d2p1:image> </d2p1:imageData> <d2p1:type>sample string 1</d2p1:type> </d2p1:WixBlogRichContentNode> </d2p1:nodes> </d2p1:richContent> <d2p1:slug>sample string 7</d2p1:slug> <d2p1:tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </d2p1:tags> <d2p1:timeToRead>4</d2p1:timeToRead> <d2p1:title>sample string 17</d2p1:title> <d2p1:viewCount>2</d2p1:viewCount> </d2p1:WixBlog> </blogs> </WixBlogResp>