跳转到内容
资源

关键词组

品牌、商业、信息、交易、本地或自定义等团体组织报告的关键词。

GET/api/v1/keyword-groups阅读关键

关键词组列表

验证:在授权标题中输入 API 密钥。

参数
参数在类型描述
websiteIdquerystring仅为本网站的组
请求
curl "https://devnoro.com/api/v1/keyword-groups" \
  -H "Authorization: Bearer $DEVNORO_KEY"
答案
{ "data": [{ "id": "cm1grp…", "name": "Commercial", "type": "commercial", "websiteId": "cm1site9x0001", "keywords": 42 }] }
POST/api/v1/keyword-groups阅读和写钥匙

创建关键词组

验证:在授权标题中输入 API 密钥。

参数
参数在类型描述
name*bodystring组名称
typebodybrand | commercial | informational | transactional | local | custom默认定义
websiteIdbodystring可选 - 工作空间 - 全域,当被忽略时
请求
curl -X POST "https://devnoro.com/api/v1/keyword-groups" \
  -H "Authorization: Bearer $DEVNORO_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Pricing pages", "type": "commercial", "websiteId": "cm1site9x0001" }'
答案
{ "data": { "id": "cm1grp…", "name": "Pricing pages", "type": "commercial" } }
DELETE/api/v1/keyword-groups/{id}阅读和写钥匙

删除一个组(关键词保留)

验证:在授权标题中输入 API 密钥。

请求
curl -X DELETE "https://devnoro.com/api/v1/keyword-groups/cm1site9x0001" \
  -H "Authorization: Bearer $DEVNORO_KEY"
答案
{ "data": { "deleted": true } }