A Blog object contains metadata for a blog. Use the blog id to fetch and manipulate entries belonging to a blog.
All blogs have a profile image which the user can upload on the web service. It can be accessed on http://<blogurl>/profile.jpg.
{success: Boolean}
if protocol is set to JSON, else OK
as string{success: Boolean}
{success: Boolean, blogs: [Object] entries: [Object]}
{
"blogs": [
{
"blog_id": "51a84568ddf2b3208abb3667",
"description": "",
"title": "api.blogg.se",
"url": "http://api.blogg.se/"
}
],
"entries": [
{
"blog_id": "51a84568ddf2b3208abb3667",
"comments": 0,
"excerpt": "",
"thumbnail_url": null,
"title": "",
"user_entered_date": "2024-11-05T08:55:30+01:00"
}
],
"success": true
}
{success: Boolean, blogs: Array[Blog]}
{
"blogs": [
{
"account": "51a84568ddf2b3208abb3666",
"default_image_width": 600,
"description": "A demo blog for the API",
"id": "51a84568ddf2b3208abb3667",
"moderated": true,
"number_of_drafts": 1,
"number_of_unseen_comments": 1,
"site_id": 4171920,
"title": "api.blogg.se",
"url": "http://api.blogg.se/"
}
],
"success": true
}
{success: Boolean, image: Image}
{success: Boolean, category: Array[Category], default: String}
{
"categories": [
{
"name": "Allm\u00e4nt",
"permalink": "http://api.blogg.se/category/allmant.html"
},
{
"name": "API",
"permalink": "http://api.blogg.se/category/api.html"
}
],
"default": "Allm\u00e4nt",
"success": true
}
{success: Boolean, entries: Array[Entry], entries_count: Number}
{
"entries": [],
"entries_count": 0,
"success": true
}
{success: Boolean, blog: <blog>}
{success: Boolean, images: Array[Image], images_count: Number}
{
"images": [
{
"account": "51a84568ddf2b3208abb3666",
"blog": "51a84568ddf2b3208abb3667",
"description": "",
"id": "51acb99cddf2b306046cd453",
"name": "bacon1.jpg",
"thumb_url": "https://cdn3.cdnme.se/4171920/6-3/bacon1_51acb99cddf2b306046cd453_thumb.jpg",
"url": "https://cdn3.cdnme.se/4171920/6-3/bacon1_51acb99cddf2b306046cd453.jpg"
},
{
"account": "51a84568ddf2b3208abb3666",
"blog": "51a84568ddf2b3208abb3667",
"description": "",
"id": "51a845eaddf2b321772aa05c",
"name": "lipsum07.gif",
"thumb_url": "https://cdn2.cdnme.se/4171920/6-3/lipsum07_51a845eaddf2b321772aa05c_thumb.gif",
"url": "https://cdn2.cdnme.se/4171920/6-3/lipsum07_51a845eaddf2b321772aa05c.gif"
}
],
"images_count": 2,
"success": true
}
{success: Boolean, tags: Array[<String>]}
{
"success": true,
"tags": [
"api",
"demo",
"test"
]
}
{success: Boolean, blog: <blog>, entries: Array[Entry]}
{
"blog": {
"account": "51a84568ddf2b3208abb3666",
"default_image_width": 600,
"description": "A demo blog for the API",
"id": "51a84568ddf2b3208abb3667",
"moderated": true,
"number_of_drafts": 1,
"number_of_unseen_comments": 1,
"site_id": 4171920,
"title": "api.blogg.se",
"url": "http://api.blogg.se/"
},
"success": true
}