内容丰富 如何解决子引用链接?
Contentful How to resolve child reference links?
我正在查询是否对以下电话感到满意:
space.getEntries({ content_type: contentTypeId, order: '-sys.createdAt', skip: 0}).catch(function(gerror) {
return gerror;
}).then(function(entries) {
console.log(entries);
});
但我在响应中得到的是 sys 对象,而不是包含资产 url 等的完整对象
感谢任何帮助。
谢谢
从你添加的标签来看,你似乎在使用管理API?
管理 API 不进行自动 link 解决。这是 Delivery API 独有的功能。
我正在查询是否对以下电话感到满意:
space.getEntries({ content_type: contentTypeId, order: '-sys.createdAt', skip: 0}).catch(function(gerror) {
return gerror;
}).then(function(entries) {
console.log(entries);
});
但我在响应中得到的是 sys 对象,而不是包含资产 url 等的完整对象
感谢任何帮助。 谢谢
从你添加的标签来看,你似乎在使用管理API?
管理 API 不进行自动 link 解决。这是 Delivery API 独有的功能。