full diff

place.stream.moderation.createBlock

stream.place +1 −0
From
bafyreifmsmk5xnv6ekxf3qzpgpumzlqxy6c727fmzsnihtxkybhxghwhum indexed 2026-11-04 01:29 UTC View this version
To
bafyreieflzfhy2op5av5e2dr4b2jfsbihiibhyqus2eadn3c66hylpcdze 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.createBlock:params" }
  • AddedEdge AddedEdge { src: "place.stream.moderation.createBlock", tgt: "place.stream.moderation.createBlock:params", kind: "prop", name: Some("parameters") }

Migration guidance

Added

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

Notes

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

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Create a block (ban) on behalf of a streamer. Requires 'ban' permission. Creates an app.bsky.graph.block record in the streamer's repository.",
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 create blocks 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 "reason": {
2525 "description": "Optional reason for the block.",
2626 "maxLength": 300,
2727 "type": "string"
2828 },
2929 "streamer": {
3030 "description": "The DID of the streamer whose chat this block applies to.",
3131 "format": "did",
3232 "type": "string"
3333 },
3434 "subject": {
3535 "description": "The DID of the user being blocked from chat.",
3636 "format": "did",
3737 "type": "string"
3838 }
3939 },
4040 "required": [
4141 "streamer",
4242 "subject"
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 block record.",
5353 "format": "cid",
5454 "type": "string"
5555 },
5656 "uri": {
5757 "description": "The AT-URI of the created block 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.createBlock",
7374 "lexicon": 1
7475}