文档

GetTitleDiagnose - 标题诊断调用指南

更新时间:

通过商品标题质量诊断服务,产出可视化的标题质量分,便于卖家对现有的商品标题质量有实际体感。

接口说明

注意 该接口已计划下线,不建议继续调用。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
Titlestring

标题内容

Amroe Japan Comic Theme Uzumaki Naruto Namikaze Minato 3D Visual Cartoon 7 Color USB Touch
Languagestring

标题文字的语种,语向支持以及语言代码

zh
Platformstring

商品标题所属平台,支持 ae/icbu/lazada

ae
CategoryIdstring

类目 id,如没有类目数据则传入 0

123
Extrastring
  • 可选字段

  • 格式内容:{ "product_id": "1", "platform": "ae" }

  • product_id 商品 id

  • platform 商品所属平台,支持 ae/icbu/lazada

{ "product_id": "1", "platform": "ae" }

返回参数

名称类型描述示例值
object
Codeinteger

状态码,正常请求返回 200

200
Messagestring

状态信息

ok
RequestIdstring

请求 ID

DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
Dataobject

返回具体内容

DuplicateWordsstring

重复单词(包括单复数)

hi
ContainCoreClassesstring

是否包含类目主词

true
WordCountstring

总单词数

10
LanguageQualityScorestring

语言质量分

2
AllUppercaseWordsstring

全部大写的单词

Boy
OverLengthLimitstring

长度限制

100
DisableWordsstring

敏感词

baba
NoFirstUppercaseListstring

首字母未大写单词

no
TotalScorestring

总分数

3
WordSpelledCorrectErrorstring

拼写错误单词

ahk

示例

正常返回示例

JSON格式

{
  "Code": 200,
  "Message": "ok",
  "RequestId": "DC2DCCC9-C3DF-4F59-8D8E-78185729F16D",
  "Data": {
    "DuplicateWords": "hi",
    "ContainCoreClasses": "true",
    "WordCount": "10",
    "LanguageQualityScore": "2",
    "AllUppercaseWords": "Boy",
    "OverLengthLimit": "100",
    "DisableWords": "baba",
    "NoFirstUppercaseList": "no",
    "TotalScore": "3",
    "WordSpelledCorrectError": "ahk"
  }
}

错误码

HTTP status code错误码错误信息描述
101System.RequestTimeOutThe request has timed out.请求超时
102System.ErrorA system error occurred.系统错误
103System.UrlDecodingErrorAn error occurred while decoding the URL. Verify that the specified URL is encoded.URL编码错误
104System.ParameterErrorSome required parameters are missing.参数错误
105System.LanguageNotSupportedThe specified language pair is not supported.该语向不支持
106System.LanguageDetectErrorAn error occurred while detecting the language.语种识别错误
107System.TranslateErrorAn error occurred while translating.翻译错误
108System.StringTooLongThe maximum length of the specified string is exceeded.字符过长
109System.subNotPermissionThe sub-account is not authorized to perform the operation.子账号没有权限
110System.AccountNotActivatedThe account has not activated the service.账号没有开通服务
111System.SubServiceFailedSub-account service failed.子账号服务失败
112System.TranslateServiceCallFailedFailed to call the translation service.翻译服务调用失败
113System.AccountNotActivatedOrInArrearsThe service is not activated or the account has an outstanding balance.账号服务没有开通或者欠费
199System.unknownErrorAn unknown error occurred.未知错误

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (0)
文档反馈