Skip to content

Commit

Permalink
docs: prefer query params for integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
cpvalente committed May 8, 2024
1 parent 0e0e975 commit 8a4ddd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/api/protocols/http.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ The payload response is the current state of the message data
### Example: change the external text
**Request**
```bash
<localhost:4001>/api/message/external/text/new-text
<localhost:4001>/api/message/external?text=new text
```

**Response**
Expand All @@ -148,7 +148,7 @@ The payload response is the current state of the message data
"blackout":false
},
"external": {
"text":"new-text",
"text":"new text",
"visible":false
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/api/protocols/websockets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Message: {
"type": "message",
"payload": {
"external": {
"text": "new-text"
"text": "new text"
}
}
}
Expand All @@ -154,7 +154,7 @@ Message: {
"blackout":false
},
"external":{
"text":"new-text",
"text":"new text",
"visible":false
}
}
Expand Down

0 comments on commit 8a4ddd5

Please sign in to comment.