full diff

place.stream.moderation.createPin

stream.place +1 −0
From
bafyreifhbxltrkazusckxrbzzyh2ixqomdfuell5zyrbrsrkvreoigtjxq indexed 2026-11-04 01:29 UTC View this version
To
bafyreibu3v7x46ms5biscdugjk2jsmbuxqfp5tsd44nslflhj6zhqluovq indexed 2026-08-20 16:29 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "place.stream.moderation.createPin:params" }
  • AddedEdge AddedEdge { src: "place.stream.moderation.createPin", tgt: "place.stream.moderation.createPin:params", kind: "prop", name: Some("parameters") }

Migration guidance

Added

  • AddedVertex { vertex_id: "place.stream.moderation.createPin:params" }

Notes

  • Non-breaking: AddedEdge { src: "place.stream.moderation.createPin", tgt: "place.stream.moderation.createPin:params", kind: "prop", name: Some("parameters") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "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.",
66 "errors": [
77 {
88 "description": "The request lacks valid authentication credentials.",
99 "name": "Unauthorized"
1010 },
1111 {
1212 "description": "The caller does not have permission to pin messages for this streamer.",
1313 "name": "Forbidden"
1414 },
1515 {
1616 "description": "The streamer's OAuth session could not be found or is invalid.",
1717 "name": "SessionNotFound"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "expiresAt": {
2525 "description": "Optional expiration time for this pin.",
2626 "format": "datetime",
2727 "type": "string"
2828 },
2929 "messageUri": {
3030 "description": "The AT-URI of the chat message to pin.",
3131 "format": "at-uri",
3232 "type": "string"
3333 },
3434 "streamer": {
3535 "description": "The DID of the streamer.",
3636 "format": "did",
3737 "type": "string"
3838 }
3939 },
4040 "required": [
4141 "streamer",
4242 "messageUri"
4343 ],
4444 "type": "object"
4545 }
4646 },
4747 "output": {
4848 "encoding": "application/json",
4949 "schema": {
5050 "properties": {
5151 "cid": {
5252 "description": "The CID of the created pinned record.",
5353 "format": "cid",
5454 "type": "string"
5555 },
5656 "uri": {
5757 "description": "The AT-URI of the created pinned record.",
5858 "format": "at-uri",
5959 "type": "string"
6060 }
6161 },
6262 "required": [
6363 "uri",
6464 "cid"
6565 ],
6666 "type": "object"
6767 }
6868 },
69 "parameters": null,
6970 "type": "procedure"
7071 }
7172 },
7273 "id": "place.stream.moderation.createPin",
7374 "lexicon": 1
7475}