Is there any way to fetch post HTML in an amp-components format using headless API?
ex.
https://exmaple.com/ghost/api/v3/content/posts/amp/slug/best-rose-gold-makeup-for-fair-skin-tones?key={key}. β> amp-components Html format.
1 Like
As far as Iβm aware, AMP is not integrated into the API. However, You can see the code thatβs used for amp here:
https://github.com/TryGhost/Ghost/tree/master/core/frontend/apps/amp/lib/helpers