so.sprk.feed.post

sprk.so

Documentation

Record containing a Spark post.

main record

Record containing a Spark post.

Record Key tid Timestamp-based ID

Properties

caption ref #captionRef Optional

No description available.

createdAt string datetime Required

Client-declared timestamp when this post was originally created.

langs array of string language Optional

Indicates human language of post primary text content.

maxLength: 3 items
tags array of string Optional

Additional hashtags, in addition to any included in post text and facets.

maxLength: 8 items
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "createdAt",
      "media"
    ],
    "properties": {
      "tags": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 640,
          "maxGraphemes": 64
        },
        "maxLength": 8,
        "description": "Additional hashtags, in addition to any included in post text and facets."
      },
      "langs": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "language"
        },
        "maxLength": 3,
        "description": "Indicates human language of post primary text content."
      },
      "media": {
        "refs": [
          "so.sprk.media.images",
          "so.sprk.media.video"
        ],
        "type": "union"
      },
      "sound": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      },
      "labels": {
        "refs": [
          "com.atproto.label.defs#selfLabels"
        ],
        "type": "union",
        "description": "Self-label values for this post. Effectively content warnings."
      },
      "caption": {
        "ref": "#captionRef",
        "type": "ref"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when this post was originally created."
      },
      "crossposts": {
        "type": "array",
        "items": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "description": "Records created for external services for this post"
      }
    }
  },
  "description": "Record containing a Spark post."
}
captionRef object

No description available.

Properties

text string Optional

The post description.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 3000,
      "description": "The post description.",
      "maxGraphemes": 300
    },
    "facets": {
      "type": "array",
      "items": {
        "ref": "so.sprk.richtext.facet",
        "type": "ref"
      },
      "description": "Annotations of text (mentions, URLs, hashtags, etc)"
    }
  }
}

Lexicon Garden

@