Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 1.04 KB

File metadata and controls

18 lines (10 loc) · 1.04 KB

RedditPlatformData

Posts are either link (with URL/media) or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.

Properties

Name Type Description Notes
subreddit String Target subreddit name (without "r/" prefix). Overrides the default. Use GET /v1/accounts/{id}/reddit-subreddits to list options. [optional]
title String Post title. Defaults to the first line of content, truncated to 300 characters. [optional]
url URI URL for link posts. If provided (and forceSelf is not true), creates a link post instead of a text post. [optional]
forceSelf Boolean When true, creates a text/self post even when a URL or media is provided. [optional]
flairId String Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs. [optional]