place.stream.moderation.createPin

moderation.stream.place View official

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Pin a chat message on behalf of a streamer. Requires 'message.pin' permission. Creates a place.stream.chat.pinnedRecord in the streamer's repo, replacing any existing pin.",
      "errors": [
        {
          "description": "The request lacks valid authentication credentials.",
          "name": "Unauthorized"
        },
        {
          "description": "The caller does not have permission to pin messages for this streamer.",
          "name": "Forbidden"
        },
        {
          "description": "The streamer's OAuth session could not be found or is invalid.",
          "name": "SessionNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "expiresAt": {
              "description": "Optional expiration time for this pin.",
              "format": "datetime",
              "type": "string"
            },
            "messageUri": {
              "description": "The AT-URI of the chat message to pin.",
              "format": "at-uri",
              "type": "string"
            },
            "streamer": {
              "description": "The DID of the streamer.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "streamer",
            "messageUri"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "description": "The CID of the created pinned record.",
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "description": "The AT-URI of the created pinned record.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "parameters": null,
      "type": "procedure"
    }
  },
  "id": "place.stream.moderation.createPin",
  "lexicon": 1
}

Validate Record

Validate a record against place.stream.moderation.createPin

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:gqtagsooi75obldmytuow57q
CID
bafyreibu3v7x46ms5biscdugjk2jsmbuxqfp5tsd44nslflhj6zhqluovq
Indexed At
2026-08-20 16:29 UTC
AT-URI
at://did:plc:gqtagsooi75obldmytuow57q/com.atproto.lexicon.schema/place.stream.moderation.createPin

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Unpin a pinned chat message on behalf of a streamer. Requires 'message.pin' permission. Deletes the place.stream.chat.pinnedRecord from the streamer's repo.

  • Record pinning a chat message for prominent display.

  • Create a gate (hide message) on behalf of a streamer. Requires 'hide' permission. Creates a place.stream.chat.gate record in the streamer's repository.

  • Create a block (ban) on behalf of a streamer. Requires 'ban' permission. Creates an app.bsky.graph.block record in the streamer's repository.

  • Create a gate (hide VOD comment) on behalf of a streamer. Requires 'vod.comment.hide' permission. Creates a place.stream.vod.gate record in the streamer's repository.

Lexicon Garden

@