PalWorld
  1. Rcon
PalWorld
  • Guild
    • List Guilds
      GET
    • Put Guilds
      PUT
    • Get Guild
      GET
  • Auth
    • Login
      POST
  • Player
    • List Players
      GET
    • Put Players
      PUT
    • Get Player
      GET
    • Ban Player
      POST
    • Kick Player
      POST
    • List White List
      GET
    • Put White List
      PUT
    • Add White List
      POST
    • Remove White List
      DELETE
  • Server
    • Get Server Info
      GET
    • Publish Broadcast
      POST
    • Shutdown Server
      POST
    • Get PalWorld Server Tool
      GET
  • Sync
    • Sync Data
      POST
  • Rcon
    • List Rcon Commands
      GET
    • Add Rcon Command
      POST
    • Import Rcon Commands
      POST
    • Send Rcon Command
      POST
    • Put Rcon Command
      PUT
    • Remove Rcon Command
      DELETE
  • backup
    • List backups within a specified time range
    • Download Backup
    • Delete Backup
  1. Rcon

Send Rcon Command

POST
/api/rcon/send
Rcon
Send Rcon Command

请求参数

Body 参数application/json
content
string 
可选
uuid
string 
可选
示例
{
    "content": "string",
    "uuid": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/rcon/send' \
--header 'Content-Type: application/json' \
--data-raw '{
    "content": "string",
    "uuid": "string"
}'

返回响应

🟢200OK
application/json
Body
message
string 
可选
示例
{
    "message": "string"
}
🟠400Bad Request
🟠404Not Found
修改于 2024-03-06 17:03:40
上一页
Import Rcon Commands
下一页
Put Rcon Command
Built with