settings object with "__type": "lemmy" and the communities to post in. Read the live schema for your channel with Get a channel’s settings.
A Lemmy channel connects with your instance, username and password, which only the app’s connect form takes. Connect it in the app first, then post to it here.
Fields
Each community gets its own submission, with its own title and link and the same body from
value[0].content, sent as plain text. The first file of the first entry becomes the cover image of every submission.
Find a community id
Thesubreddits tool searches the channel’s instance. Call it through trigger a provider tool:
{ "output": [{ "id": 1234, "name": "Linux", "title": "Linux" }] }. Send id as a string in value.id, and name in value.subreddit.
Follow-up comments
Each extra entry invalue is posted as a top-level comment under the submission in every community, after its delay in minutes. Comments are text only.
What PostQueen checks
A post that breaks one of these rules is refused with400 before it is scheduled:
A settings field that is missing or wrong is refused first, with the field’s path in each message:
Examples
Send each body to create a post. ReplaceYOUR_CHANNEL_ID with the channel’s id from list channels, each community id and name with the values the subreddits tool returns, and each media id and path with the values upload a file returns.