Maintenance is coming...
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Display page missing from API call when creating a new StructuredContent
Hello all,
We are trying to create a new StructuredContent (asset) with our headless-delivery API :
https://app.swaggerhub.com/apis/liferayinc/headless-delivery/v1.0#/StructuredContent/postSiteStructuredContent
So far, so good. The only thing that is missing from our API call is the display page the content should be displayed in.
In the JSON request body, I tried to add a "layoutUuid", or "displayTemplateKey" attribute only for me to receive this callback from the API { "status" : "BAD_REQUEST", "title" : "The property "layoutUuid" is not defined in StructuredContent." }
Is there any way we can set the display page of an asset
through the API?
Thanks
Jonathan.
Copyright © 2026 Liferay, Inc
• Privacy Policy
Powered by Liferay™
Node: liferay-5bbdbc977c-s2qbv:8080: