Re: API - Getting landing page metadata is missing the description?

Joseph_Wood
Level 2

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.

1 REPLY 1
Arun_Sharma9
Level 4

Re: API - Getting landing page metadata is missing the description?

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

Arun Sharma