工具说明:
注:请填写百度站长平台提供给您的接口调用地址
注:规范的sitemap网页的链接应该包含在<loc>标签中,否则无法提取到链接
推送结果
结果显示区
推送结果参数解读:
状态码为200,可能返回以下字段:
| 字段 | 是否必传 | 参数类型 | 说明 |
|---|---|---|---|
| remain | 是 | int | 当天剩余的可推送url条数 |
| success | 是 | int | 成功推送的url条数 |
| not_same_site | 否 | array | 由于不是本站url而未处理的url列表 |
| not_valid | 否 | array | 不合法的url列表 |
成功返回示例:
{
"remain":4999998,
"success":2,
"not_same_site":[],
"not_valid":[]
}
状态码为4xx,返回字段有:
| 字段 | 是否必传 | 参数类型 | 说明 |
|---|---|---|---|
| error | 是 | int | 错误码,与状态码相同 |
| message | 是 | string | 错误描述 |
失败返回示例:
{
"error":401,
"message":"token is not valid"
}