DCS API 文檔
返回 DCSAPI 文檔
返回 DCSAPI 文檔
  1. 伺服器
  • 簡介
  • 基本資訊
    • 資訊總覽
      GET
    • 文檔頁面列表
      GET
  • 機器人
    • 機器人搜尋
      GET
    • 機器人投票
      POST
  • 伺服器
    • 伺服器搜尋
      GET
    • 伺服器投票
      POST
返回 DCSAPI 文檔
返回 DCSAPI 文檔
  1. 伺服器

伺服器投票

POST
https://dcs.tw/api/servers/vote

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dcs.tw/api/servers/vote' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": "string"
}'
Response Response Example
200 - Example 1
{}
Modified at 2025-06-25 13:34:33
Previous
伺服器搜尋
Built with