full diff

place.stream.server.createWebhook

From
bafyreie2bg5kibqrjjirnohoqm7brbk2tfhzv4e73uswaf5kae2ayc6rke indexed 2026-07-26 20:18 UTC View this version
To
bafyreiahkwzp5hlftospinthv7x6ktukfhbtxloxpnxpbje24ps5tv3qii indexed 2026-11-04 01:29 UTC View this version

Compatibility

breaking 2 breaking changes, 0 non-breaking changes.

Breaking changes (2)
  • RemovedVertex RemovedVertex { vertex_id: "place.stream.server.createWebhook:params" }
  • RemovedEdge RemovedEdge { src: "place.stream.server.createWebhook", tgt: "place.stream.server.createWebhook:params", kind: "prop", name: Some("parameters") }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "place.stream.server.createWebhook:params" }

Notes

  • Breaking: RemovedEdge { src: "place.stream.server.createWebhook", tgt: "place.stream.server.createWebhook:params", kind: "prop", name: Some("parameters") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Create a new webhook for receiving Streamplace events.",
66 "errors": [
77 {
88 "description": "The provided webhook URL is invalid or unreachable.",
99 "name": "InvalidUrl"
1010 },
1111 {
1212 "description": "A webhook with this URL already exists for this user.",
1313 "name": "DuplicateWebhook"
1414 },
1515 {
1616 "description": "The user has reached their maximum number of webhooks.",
1717 "name": "TooManyWebhooks"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "active": {
2525 "default": false,
2626 "description": "Whether this webhook should be active upon creation.",
2727 "type": "boolean"
2828 },
2929 "description": {
3030 "description": "A description of what this webhook is used for.",
3131 "maxLength": 500,
3232 "type": "string"
3333 },
3434 "events": {
3535 "description": "The types of events this webhook should receive.",
3636 "items": {
3737 "enum": [
3838 "chat",
3939 "livestream",
4040 "follow",
4141 "mention",
4242 "stream.received"
4343 ],
4444 "type": "string"
4545 },
4646 "type": "array"
4747 },
4848 "muteWords": {
4949 "description": "Words to filter out from chat messages. Messages containing any of these words will not be forwarded.",
5050 "items": {
5151 "maxLength": 100,
5252 "type": "string"
5353 },
5454 "type": "array"
5555 },
5656 "name": {
5757 "description": "A user-friendly name for this webhook.",
5858 "maxLength": 100,
5959 "type": "string"
6060 },
6161 "prefix": {
6262 "description": "Text to prepend to webhook messages.",
6363 "maxLength": 100,
6464 "type": "string"
6565 },
6666 "rewrite": {
6767 "description": "Text replacement rules for webhook messages.",
6868 "items": {
6969 "ref": "place.stream.server.defs#rewriteRule",
7070 "type": "ref"
7171 },
7272 "type": "array"
7373 },
7474 "suffix": {
7575 "description": "Text to append to webhook messages.",
7676 "maxLength": 100,
7777 "type": "string"
7878 },
7979 "url": {
8080 "description": "The webhook URL where events will be sent.",
8181 "format": "uri",
8282 "type": "string"
8383 }
8484 },
8585 "required": [
8686 "url",
8787 "events"
8888 ],
8989 "type": "object"
9090 }
9191 },
9292 "output": {
9393 "encoding": "application/json",
9494 "schema": {
9595 "properties": {
9696 "webhook": {
9797 "ref": "place.stream.server.defs#webhook",
9898 "type": "ref"
9999 }
100100 },
101101 "required": [
102102 "webhook"
103103 ],
104104 "type": "object"
105105 }
106106 },
107 "parameters": null,
108107 "type": "procedure"
109108 }
110109 },
111110 "id": "place.stream.server.createWebhook",
112111 "lexicon": 1
113112}