
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
该镜像提供品牌数据的公共API服务,允许通过UUID查询品牌详细信息。品牌数据正迁移至新的https://github.com/Financial-Times/public-concepts-api%EF%BC%8C%E5%9B%A0%E6%AD%A4%E6%9C%ACAPI%E6%9C%80%E7%BB%88%E5%B0%86%E8%A2%AB%E5%BC%83%E7%94%A8%E3%80%82%E8%87%AA2018%E5%B9%B47%E6%9C%88%E8%B5%B7%EF%BC%8C%E5%AF%B9%E6%9C%AC%E6%9C%8D%E5%8A%A1%E7%9A%84%E8%AF%B7%E6%B1%82%E5%B0%86%E9%80%9A%E8%BF%87concepts api重定向,并转换为现有格式返回。
适用于需要集成品牌数据的应用场景,如内容管理系统、新闻平台、数据分析工具等,需通过品牌UUID获取品牌详情及层级关系的业务需求。
bashgo get -u github.com/Financial-Times/public-brands-api
bashcd $GOPATH/src/github.com/Financial-Times/public-brands-api
bashgo test ./...
bashgo install
bash$GOPATH/bin/public-brands-api --neo-url={neo4jUrl} --port={port} --log-level={DEBUG|INFO|WARN|ERROR}
--neo-url:Neo4j数据库连接URL,默认值为http://localhost:7474/db/data(本地Neo4j默认地址)--port:服务监听端口,默认值为8080--log-level:日志输出级别,可选值为DEBUG、INFO、WARN、ERRORhttp://localhost:8080/brands/{uuid}bashcurl http://localhost:8080/brands/2d3e16e0-61cb-4322-8aff-3b01c59f4daa | json_pp
json{ "id": "http://api.ft.com/things/{uuid}", "apiUrl": "http://api.ft.com/brands/{uuid}", "types": [ "http://www.ft.com/ontology/core/Thing", "http://www.ft.com/ontology/concept/Concept", "http://www.ft.com/ontology/classification/Classification", "http://www.ft.com/ontology/product/Brand" ], "directType": "http://www.ft.com/ontology/product/Brand", "prefLabel": "Brand Name", "description": "A description of the brand, in plain text", "descriptionXML": "<body><p>A description of the brand, in <i>bodyXML</i></p></body>", "strapline": "A subsidiary heading, caption or advertising slogan", "_imageUrl": "http://images.ft.com/tempImageWhilstThisIsResolved.jpg", "childBrands": [], "parentBrands": [] }
注意:当品牌没有父品牌或子品牌时,对应属性将被省略
包含父品牌的品牌(如Lex Live):
json{ "id": "http://api.ft.com/things/e363dfb8-f6d9-4f2c-beba-5162b334272b", "apiUrl": "http://api.ft.com/brands/e363dfb8-f6d9-4f2c-beba-5162b334272b", "types": [ "http://www.ft.com/ontology/core/Thing", "http://www.ft.com/ontology/concept/Concept", "http://www.ft.com/ontology/classification/Classification", "http://www.ft.com/ontology/product/Brand" ], "directType": "http://www.ft.com/ontology/product/Brand", "prefLabel": "Lex Live", "description": "", "descriptionXML": "", "strapline": "", "_imageUrl": "", "parentBrands": [ { "id": "http://api.ft.com/things/2d3e16e0-61cb-4322-8aff-3b01c59f4daa", "apiUrl": "http://api.ft.com/brands/2d3e16e0-61cb-4322-8aff-3b01c59f4daa", "types": [ "http://www.ft.com/ontology/product/Brand" ], "prefLabel": "Lex" } ], "childBrands": [] }
包含子品牌的品牌(如Lex):
json{ "id": "http://api.ft.com/things/2d3e16e0-61cb-4322-8aff-3b01c59f4daa", "apiUrl": "http://api.ft.com/brands/2d3e16e0-61cb-4322-8aff-3b01c59f4daa", "types": [ "http://www.ft.com/ontology/core/Thing", "http://www.ft.com/ontology/concept/Concept", "http://www.ft.com/ontology/classification/Classification", "http://www.ft.com/ontology/product/Brand" ], "directType": "http://www.ft.com/ontology/product/Brand", "prefLabel": "Lex", "description": "", "descriptionXML": "", "strapline": "", "_imageUrl": "", "parentBrands": [ { "id": "http://api.ft.com/things/dbb0bdae-1f0c-11e4-b0cb-b2227cce2b54", "apiUrl": "http://api.ft.com/brands/dbb0bdae-1f0c-11e4-b0cb-b2227cce2b54", "types": [ "http://www.ft.com/ontology/core/Thing", "http://www.ft.com/ontology/concept/Concept", "http://www.ft.com/ontology/classification/Classification", "http://www.ft.com/ontology/product/Brand" ], "directType": "http://www.ft.com/ontology/product/Brand", "prefLabel": "Financial Times" } ], "childBrands": [ { "id": "http://api.ft.com/things/e363dfb8-f6d9-4f2c-beba-5162b334272b", "apiUrl": "http://api.ft.com/brands/e363dfb8-f6d9-4f2c-beba-5162b334272b", "types": [ "http://www.ft.com/ontology/core/Thing", "http://www.ft.com/ontology/concept/Concept", "http://www.ft.com/ontology/classification/Classification", "http://www.ft.com/ontology/product/Brand" ], "directType": "http://www.ft.com/ontology/product/Brand", "prefLabel": "Lex Live" } ] }
服务详细信息可参考public-brands-api运行手册
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务