curl --location '/api/v2/channels/platforms'{
"data": [
{
"platform": "douyin",
"displayName": {
"en-US": "string",
"zh-CN": "string"
},
"logoUrl": "http://example.com",
"authType": "oauth2",
"authInstructions": {
"en-US": "string",
"zh-CN": "string"
},
"emptyAccountHint": {
"title": {
"en-US": "string",
"zh-CN": "string"
},
"description": {
"en-US": "string",
"zh-CN": "string"
},
"action": {
"label": {
"en-US": "string",
"zh-CN": "string"
},
"url": "http://example.com"
}
},
"editor": "none",
"contentLimits": {
"modes": [
"article2"
],
"maxTitleLength": 0,
"maxBodyLength": 0,
"maxTotalTextLength": 0,
"maxMediaCount": 0,
"maxImages": 0,
"maxVideos": 0
},
"mediaRules": {
"imageFormats": [
"string"
],
"videoFormats": [
"string"
],
"maxImageSize": 0,
"maxVideoSize": 0,
"minVideoDuration": 0,
"maxVideoDuration": 0,
"minImageWidth": 0,
"minImageHeight": 0,
"maxImageWidth": 0,
"maxImageHeight": 0,
"aspectRatio": {
"min": 0,
"max": 0
}
},
"topic": {
"supported": true,
"nativeField": true,
"maxCount": 0,
"maxTotalLength": 0
},
"capabilities": {
"auth": {
"supported": true,
"revoke": true,
"selectableAccounts": true,
"refreshAccountAccess": true
},
"publish": {
"supported": true,
"cancel": true,
"update": true,
"verify": true,
"finalize": true,
"scheduleByPlatform": true,
"optionSources": true,
"completionStrategy": "sync"
},
"analytics": {
"account": true,
"work": true
},
"engagement": {
"comments": {
"list": {
"supported": true,
"pagination": {
"mode": "cursor",
"defaultLimit": 1,
"maxLimit": 1,
"supportsPrevious": true
},
"parameters": {
"querySchema": {
"property1": "string",
"property2": "string"
},
"bodySchema": {
"property1": "string",
"property2": "string"
},
"dataSchema": {
"property1": "string",
"property2": "string"
}
}
},
"create": {
"supported": true,
"parameters": {
"querySchema": {
"property1": "string",
"property2": "string"
},
"bodySchema": {
"property1": "string",
"property2": "string"
},
"dataSchema": {
"property1": "string",
"property2": "string"
}
}
}
},
"functions": [
{
"name": "delete_comment",
"label": {
"en-US": "string",
"zh-CN": "string"
},
"target": "work",
"parameters": {
"querySchema": {
"property1": "string",
"property2": "string"
},
"bodySchema": {
"property1": "string",
"property2": "string"
},
"dataSchema": {
"property1": "string",
"property2": "string"
}
}
}
]
},
"work": {
"listWorks": true,
"listWorksPagination": {
"mode": "cursor",
"defaultLimit": 1,
"maxLimit": 1,
"supportsPrevious": true
},
"getLinkInfo": true,
"getDetail": true,
"verifyOwnership": true
},
"browse": {
"search": true,
"getDetail": true
},
"webhook": {
"supported": true
}
},
"optionSchema": {
"property1": "string",
"property2": "string"
},
"defaultOption": {
"property1": "string",
"property2": "string"
},
"status": "hidden"
}
],
"code": 0,
"message": "string",
"requestId": "string"
}