Update README.md

This commit is contained in:
StarAppeal
2024-12-11 13:13:19 +01:00
committed by GitHub
parent b70fb789e1
commit 966851f155
+14 -8
View File
@@ -229,28 +229,34 @@ npm run start
- **Request Body**:
```json
{
"payload": JSON
"payload": {
"anything": object,
"you": object,
"want": boolean
}
}
```
- **Response**:
"OK"
"OK"
- **POST** `/websocket/send-message`
- **Description**: Sends a direct message to a specific WebSocket client.
- **Request Body**:
```json
{
"payload": JSON,
"payload": {
"anything": object,
"you": object,
"want": boolean
}
"users": [
"uuid1",
"uuid2"
]
]
}
```
- **Response**:
"OK"
"OK"
#### Spotify Token Management
- **GET** `/spotify/token/refresh/:refresh_token`
@@ -261,7 +267,7 @@ npm run start
"access_token": "string",
"refresh_token": "string",
"expiresIn": "number",
"scope": "string
"scope": "string"
}
```