Get blog
Title, description and ask settings of one blog.
GET https://cotlet.dev/api/v1/tumblr/blog
read
Returns the blog title, description, post count and whether asks and anonymous asks are on. It also returns how many posts wait in the queue and how many drafts there are, so you can see room left before the 1,000-post queue limit.
Parameters
| Name | Type | Description |
|---|---|---|
| blog string required | string | Blog name, e.g. 'studio-notes' for studio-notes.tumblr.com. Names come from list_blogs. |
Request
curl "https://cotlet.dev/api/v1/tumblr/blog?blog=studio-notes" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("tumblr", "get_blog", {"blog":"studio-notes"}) const result = await cotlet.call('tumblr', 'get_blog', {"blog":"studio-notes"}); cotlet call tumblr get_blog --data '{"blog":"studio-notes"}' Example response
{
"blog": "studio-notes",
"title": "Studio notes",
"description": "Ink drawings and prints.",
"posts": 1840,
"asks_open": true,
"anonymous_asks": true,
"queued": 14,
"drafts": 6
}