docs: replace Eddy session references with EdGpt
This commit is contained in:
parent
c1a33b16ae
commit
13ef16ac0f
1 changed files with 4 additions and 4 deletions
|
|
@ -131,7 +131,7 @@ curl http://127.0.0.1:3010/health
|
||||||
Haalt alle chats op van het WhatsApp-hoofdscherm.
|
Haalt alle chats op van het WhatsApp-hoofdscherm.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl http://127.0.0.1:3010/client/getChats/Eddy
|
curl http://127.0.0.1:3010/client/getChats/EdGpt
|
||||||
{
|
{
|
||||||
"chats": [
|
"chats": [
|
||||||
{
|
{
|
||||||
|
|
@ -160,7 +160,7 @@ Media-berichten tonen lege preview of `NaN`.
|
||||||
Haalt berichten op uit een specifieke chat.
|
Haalt berichten op uit een specifieke chat.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -X POST http://127.0.0.1:3010/chat/fetchMessages/Eddy \
|
curl -X POST http://127.0.0.1:3010/chat/fetchMessages/EdGpt \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d '{"chatId": "31612345678"}'
|
-d '{"chatId": "31612345678"}'
|
||||||
|
|
||||||
|
|
@ -187,7 +187,7 @@ messages). Alleen zichtbare berichten in de weergave (scrollt niet).
|
||||||
Verstuurt een tekstbericht.
|
Verstuurt een tekstbericht.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -X POST http://127.0.0.1:3010/client/sendMessage/Eddy \
|
curl -X POST http://127.0.0.1:3010/client/sendMessage/EdGpt \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d '{
|
-d '{
|
||||||
"chatId": "31612345678",
|
"chatId": "31612345678",
|
||||||
|
|
@ -420,7 +420,7 @@ curl -X POST http://127.0.0.1:3010/webhooks/whatsapp/incoming \
|
||||||
-d '{
|
-d '{
|
||||||
"sender": "+31 6 12345678",
|
"sender": "+31 6 12345678",
|
||||||
"text": "Hallo!",
|
"text": "Hallo!",
|
||||||
"chatId": "Eddy de Vink",
|
"chatId": "+31 6 12345678",
|
||||||
"timestamp": 1700000000000
|
"timestamp": 1700000000000
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue