{"id":3599,"date":"2020-11-11T10:49:52","date_gmt":"2020-11-11T10:49:52","guid":{"rendered":"https:\/\/structured-data-for-wp.com\/docs\/?post_type=ht_kb&#038;p=3599"},"modified":"2020-11-11T11:30:12","modified_gmt":"2020-11-11T11:30:12","slug":"how-to-use-rest-api-feature-in-schema","status":"publish","type":"ht_kb","link":"https:\/\/structured-data-for-wp.com\/docs\/article\/how-to-use-rest-api-feature-in-schema\/","title":{"rendered":"How to use Rest API feature in Schema"},"content":{"rendered":"\n<p>A headless CMS is a content management system that provides a way to author content, but instead of having your content coupled to a particular output (like web page rendering), it provides your content as data over an API. \u2026 These are usually called \u201cHeadless\u201d or \u201cAPI-first\u201d CMSes.<\/p>\n\n\n\n<p><strong>REST API Example<\/strong><\/p>\n\n\n\n<p>It is a headless URL and it is a dynamic, whatever post id you have a pass you will get that JSON ID post only. <\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttp:\/\/example.com\/wp-json\/saswp-output\/posts\/255\n<\/div><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p><strong>We hope we\u2019ve clear your doubts in case If you have any feedback or questions,&nbsp;<\/strong><strong>Just contact us&nbsp;<a href=\"http:\/\/structured-data-for-wp.com\/contact-us\/\">here<\/a>&nbsp;and we are always available for you.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A headless CMS is a content management system that provides a way to author content, but instead of having your content coupled to a particular output (like web page rendering), it provides your content as data over an API. \u2026 These are usually called \u201cHeadless\u201d or \u201cAPI-first\u201d CMSes. REST API&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[3],"ht-kb-tag":[],"class_list":["post-3599","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to"],"_links":{"self":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/3599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/comments?post=3599"}],"version-history":[{"count":2,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/3599\/revisions"}],"predecessor-version":[{"id":3601,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/3599\/revisions\/3601"}],"wp:attachment":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=3599"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=3599"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=3599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}