sdk授权
POST
/api/v1/auth/sdk-auth
Auth
责任人:未设置
请求参数
Body 参数application/json
app_id
string
access key
device_sn
string
设备sn号
bundle_id
string
安卓包名 / ios bundle id
type
enum<string>
必需
枚举值:
IOSANDROIDWEBAPP
默认值:
IOS
signature
string
签名
ts
string <int64>
当前时间戳(秒)
示例
{
"app_id": "string",
"device_sn": "string",
"bundle_id": "string",
"type": "IOS",
"signature": "string",
"ts": "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/v1/auth/sdk-auth' \
--header 'Content-Type: application/json' \
--data-raw '{
"app_id": "string",
"device_sn": "string",
"bundle_id": "string",
"type": "IOS",
"signature": "string",
"ts": "string"
}'
返回响应
🟢200A successful response.
application/json
Body
license
string
证书
示例
{
"license": "string"
}
🔴500An unexpected error response.