Skip to main content
Level 2
Mar 23, 2021 8:29 PM UTC
Question

API - Getting landing page metadata is missing the description?

Hi all,

If I request /rest/asset/v1/landingPage/{ID}.json, I get the title, keywords, robots, facebookOgTags and customHeadHTML as expected, BUT not the "metaTagsDescription".

I know I could parse/rest/asset/v1/landingPage/{ID}/fullContent.json, but wondering if there is a better way.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Arun_Sharma9
Level 3
Apr 14, 2021 10:04 AM UTC

Hi @joseph_wood ,

 

The problem seems to be in REST API which is already using the "description" key for the landing page description and there is no key like "metadescription" enabled. 

 

So there won't be any other solution for you to get the Meta Description for landing page and you've to use the Full Content and parse technique.

 

Thanks

Translate
Arun Sharma