POST Add SkillBots to a manual subscription bundle
POST /loom/v1/creators/me/subscriptionBundles/{subscriptionBundle}:addItems
所属分组:Creator Subscriptions · 创作者订阅
Existing members cannot be removed or replaced.
BASE URL
https://router.shengsuanyun.com/api认证方式
Authorization: Bearer YOUR_API_KEY端点列表
POST/loom/v1/creators/me/subscriptionBundles/{subscriptionBundle}:addItemsAdd SkillBots to a manual subscription bundle
Existing members cannot be removed or replaced.
请求参数
| 参数 | 位置 / 类型 | 说明 |
|---|---|---|
subscriptionBundle必填 | path / any | subscriptionBundle identifier |
请求体 · 必填
Items
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
expectedRevision | integer | |
listingIds | array | 展开结构
数组元素
|
{
"expectedRevision": 0,
"listingIds": [
"string"
]
}请求示例
参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。
curl -X POST 'https://loomloom.shengsuanyun.com/loom/v1/creators/me/subscriptionBundles/{subscriptionBundle}:addItems' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
--data '{
"expectedRevision": 0,
"listingIds": [
"string"
]
}'响应
200 OK
application/json
| 字段 | 类型 | 说明 | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
createdAt | string | |||||||||||||||||||||||||
creatorUserId | integer | |||||||||||||||||||||||||
description | string | |||||||||||||||||||||||||
id | string | |||||||||||||||||||||||||
kind | string | |||||||||||||||||||||||||
name | string | |||||||||||||||||||||||||
revision | integer | |||||||||||||||||||||||||
sourceListingId | string | |||||||||||||||||||||||||
status | string | |||||||||||||||||||||||||
tiers | array | 展开结构
数组元素
| ||||||||||||||||||||||||
unlistedReason | string | |||||||||||||||||||||||||
updatedAt | string |
{
"createdAt": "string",
"creatorUserId": 0,
"description": "string",
"id": "string",
"kind": "string",
"name": "string",
"revision": 0,
"sourceListingId": "string",
"status": "string",
"tiers": [
{
"durationDays": 0,
"enabled": false,
"price": {
"amount": "1.7027920",
"currency": "CNY"
},
"tierType": "string"
}
],
"unlistedReason": "string",
"updatedAt": "string"
}