infipostdocs
Provider settings

Lemmy Settings

Provider settings for Lemmy posts

Overview

Lemmy is a decentralized Reddit alternative. When posting to Lemmy, you need to specify the community and post details.

Settings Schema

json
{
  "__type": "lemmy",
  "subreddit": [
    {
      "value": {
        "subreddit": "community_name",
        "id": "community-id",
        "title": "Post Title",
        "url": "https://optional-link.com"
      }
    }
  ]
}

Properties

PropertyTypeRequiredDescription
__typestring✅Must be "lemmy"
subredditarray✅Array of community targets
subreddit[].value.subredditstring✅Community name (min 2 chars)
subreddit[].value.idstring✅Community ID
subreddit[].value.titlestring✅Post title (min 2 chars)
subreddit[].value.urlstring❌Optional link URL

Example

json
{
  "type": "schedule",
  "date": "2024-12-14T10:00:00.000Z",
  "shortLink": false,
  "tags": [],
  "posts": [
    {
      "integration": {
        "id": "your-lemmy-integration-id"
      },
      "value": [
        {
          "content": "Check out this interesting article about open-source software!",
          "image": []
        }
      ],
      "settings": {
        "__type": "lemmy",
        "subreddit": [
          {
            "value": {
              "subreddit": "opensource",
              "id": "123456",
              "title": "Why Open Source Matters",
              "url": ""
            }
          }
        ]
      }
    }
  ]
}

Notes

  • You can post to multiple communities by adding more items to the subreddit array
  • Each community requires a unique title for the post
  • The url field is optional and used for link-type posts