POST 校验市场 SkillBot 工作簿
POST /loom/v1/marketListings/{marketListing}:validateWorkbook 校验市场 SkillBot 工作簿
所属分组:Market Runs · 市场执行与报价
BASE URL
https://router.shengsuanyun.com/api认证方式
Authorization: Bearer YOUR_API_KEY端点列表
POST/loom/v1/marketListings/{marketListing}:validateWorkbookValidate Market SkillBot workbook
请求参数
| 参数 | 位置 / 类型 | 说明 |
|---|---|---|
marketListing必填 | path / any | Market listing ID |
请求体 · 必填
Workbook validation request
application/json
| 字段 | 类型 | 说明 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
clientRequestId | string | ||||||||||
confirm | boolean | ||||||||||
content | array | 展开结构
数组元素
| |||||||||
expectedListingVersionId | string | ||||||||||
expectedPaymentMode | string | ||||||||||
filename | string | ||||||||||
listingVersionId | string | ||||||||||
maxCreatorFee | object | 展开结构
| |||||||||
paymentPreference | string |
{
"clientRequestId": "string",
"confirm": false,
"content": [
0
],
"expectedListingVersionId": "string",
"expectedPaymentMode": "string",
"filename": "string",
"listingVersionId": "string",
"maxCreatorFee": {
"amount": "1.7027920",
"currency": "CNY"
},
"paymentPreference": "string"
}请求示例
参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。
curl -X POST 'https://loomloom.shengsuanyun.com/loom/v1/marketListings/{marketListing}:validateWorkbook' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
--data '{
"clientRequestId": "string",
"confirm": false,
"content": [
0
],
"expectedListingVersionId": "string",
"expectedPaymentMode": "string",
"filename": "string",
"listingVersionId": "string",
"maxCreatorFee": {
"amount": "1.7027920",
"currency": "CNY"
},
"paymentPreference": "string"
}'响应
200 OK
application/json
| 字段 | 类型 | 说明 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fileErrors | array | 展开结构
数组元素
| ||||||||||||
rowErrors | array | 展开结构
数组元素
| ||||||||||||
valid | boolean |
{
"fileErrors": [
"string"
],
"rowErrors": [
{
"error": "string",
"fieldKey": "string",
"rowIndex": 0
}
],
"valid": false
}400 Bad Request
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}401 Unauthorized
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}404 Not Found
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}500 Internal Server Error
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}