External APIs
APIs
  • Internal APIs
  • External APIs
SDKs
  • Web SDKs
Projects
  • Aria
  • SOG
  • Zoomania
Examples
  • TMA Demo
APIs
  • Internal APIs
  • External APIs
SDKs
  • Web SDKs
Projects
  • Aria
  • SOG
  • Zoomania
Examples
  • TMA Demo
Edgenets
  1. 积分操作
  • 概述
  • 渠道查询
    • 渠道归属验证
      GET
    • Query user registration time by Telegram ID.
      POST
  • 积分操作
    • 增加用户积分
      POST
  • Compass联动接口
    • 添加地牢券
      GET
  • 验证操作
    • 验证是否关注HeroicArena
      POST
    • 验证是否关注Kaia
      POST
  • Top Card
    • 增加门票
      POST
    • 增加复活卡
      POST
  • 游戏账户查询
    GET
  1. 积分操作

增加用户积分

正式环境
https://prd-api.playariagame.com
正式环境
https://prd-api.playariagame.com
POST
https://prd-api.playariagame.com
/openapi/pts/give

请求参数

Header 参数

Body 参数application/json

示例
{
    "telegramId": 7254476202,
    "pts": 100,
    "category":10
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://prd-api.playariagame.com/openapi/pts/give' \
--header 'X-API-KEY: put your api key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "telegramId": 7254476202,
    "pts": 100,
    "category":10
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "success": true,
    "errCode": null,
    "errMessage": null,
    "data": true
}
修改于 2025-01-03 06:21:59
上一页
Query user registration time by Telegram ID.
下一页
添加地牢券
Built with