【发布时间】:2018-05-28 17:36:05
【问题描述】:
我正在使用 typescript 和 Contentful-ManagementAPI(这就是我不使用 SDK 客户端的原因),并且我想从特定类型中检索所有条目。我这样称呼 Api:
axios.get("https://api.contentful.com/spaces/" +
space_id +
"/entries?content_type=" +
content_type+"&include="+2)
我收到了所有请求的条目,但在图像字段中我得到了这个:
poster:en-US:
sys:
{type: "Link", linkType: "Asset", id: "222xxm9aaAu4GiAc2ESw0Q"}
那么,我怎样才能获得图像 URL? 我将不胜感激任何帮助。谢谢
【问题讨论】:
标签: contentful contentful-management