Documentation Index
Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Page number for pagination
Number of posts per page
Response
Total number of posts available in the feed
Whether there are more posts available
Array of community posts
Show Post Object
Show Post Object
Unique identifier for the post
Title of the post
Post content. Returns placeholder text if user doesn’t have access to view the full content.
ISO 8601 timestamp of when the post was published
ISO 8601 timestamp of when the post was created
ISO 8601 timestamp of when the post was last updated
Type of post:
text, poll, link, or imagesWhether the post contains a poll
Whether the post contains a link
Whether the post contains images
Whether the user needs to upgrade their membership tier to view full content
Number of likes on the post
Number of comments on the post
URL of the attached link (null if no link or user lacks access)
Title of the attached link (null if no link or user lacks access)
Description of the attached link (null if no link or user lacks access)
Array of image URLs attached to the post (empty if user lacks access)
Poll data if the post contains a poll (null if no poll or user lacks access)
Show Poll Object
Show Poll Object
Unique identifier for the poll
The poll question
Whether users can select multiple options
ISO 8601 timestamp of when the poll expires
Total number of votes cast
Whether the poll has expired
Whether the poll is currently active
{
"total": 42,
"has_more": true,
"data": [
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"title": "New Barrel Pick Announcement",
"content": "We're excited to announce our latest barrel pick from Buffalo Trace...",
"published_at": "2024-01-15T14:30:00.000Z",
"created_at": "2024-01-15T14:25:00.000Z",
"updated_at": "2024-01-15T14:30:00.000Z",
"post_type": "images",
"has_poll": false,
"has_link": false,
"has_images": true,
"requires_upgrade": false,
"likes_count": 110,
"comments_count": 32,
"link_url": null,
"link_title": null,
"link_description": null,
"image_urls": [
"https://storage.onlydrams.com/posts/images/barrel-pick-1.jpg",
"https://storage.onlydrams.com/posts/images/barrel-pick-2.jpg"
],
"poll": null,
"user": {
"id": "a1b2c3d4-5678-90ab-cdef-123456789abc",
"username": "whiskey_enthusiast",
"avatar_url": "https://storage.onlydrams.com/users/avatars/whiskey_enthusiast.jpg"
},
"community": {
"id": "b2c3d4e5-6789-01ab-cdef-234567890abc",
"name": "RD One Community",
"slug": "rd-one-community",
"avatar_url": "https://storage.onlydrams.com/communities/avatars/rd-one.png"
}
},
{
"id": "e58bc20c-69dd-5483-b678-1f13c4d5e590",
"title": "What's your favorite bourbon mashbill?",
"content": "Cast your vote in this week's poll!",
"published_at": "2024-01-14T10:00:00.000Z",
"created_at": "2024-01-14T09:55:00.000Z",
"updated_at": "2024-01-14T10:00:00.000Z",
"post_type": "poll",
"has_poll": true,
"has_link": false,
"has_images": false,
"requires_upgrade": false,
"likes_count": 110,
"comments_count": 32,
"link_url": null,
"link_title": null,
"link_description": null,
"image_urls": [],
"poll": {
"id": "c3d4e5f6-7890-12ab-cdef-345678901abc",
"question": "What's your favorite bourbon mashbill?",
"multiple_choice": false,
"expires_at": "2024-01-21T10:00:00.000Z",
"total_votes": 156,
"expired": false,
"active": true,
"created_at": "2024-01-14T09:55:00.000Z",
"updated_at": "2024-01-14T10:00:00.000Z",
"poll_options": [
{
"id": "d4e5f6a7-8901-23ab-cdef-456789012abc",
"option_text": "High Rye",
"vote_count": 72,
"position": 1,
"percentage": 46.15
},
{
"id": "e5f6a7b8-9012-34ab-cdef-567890123abc",
"option_text": "Wheated",
"vote_count": 54,
"position": 2,
"percentage": 34.62
},
{
"id": "f6a7b8c9-0123-45ab-cdef-678901234abc",
"option_text": "Traditional",
"vote_count": 30,
"position": 3,
"percentage": 19.23
}
]
},
"user": {
"id": "a1b2c3d4-5678-90ab-cdef-123456789abc",
"username": "whiskey_enthusiast",
"avatar_url": "https://storage.onlydrams.com/users/avatars/whiskey_enthusiast.jpg"
},
"community": {
"id": "b2c3d4e5-6789-01ab-cdef-234567890abc",
"name": "RD One Community",
"slug": "rd-one-community",
"avatar_url": "https://storage.onlydrams.com/communities/avatars/rd-one.png"
}
}
]
}

