{"id":58,"date":"2026-11-10T04:22:48","date_gmt":"2026-11-10T04:22:48","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=wordpress-rest-api"},"modified":"2026-11-10T08:03:15","modified_gmt":"2026-11-10T08:03:15","slug":"wordpress-rest-api","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=wordpress-rest-api","title":{"rendered":"WordPress REST API"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The REST API exposes content at URLs like \/wp-json\/wp\/v2\/posts as structured data. Mobile apps, other sites and tools can use it to display or manage content. This knowledge base&#039;s search runs on it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">It lets one WordPress site power a mobile app, a dashboard or another website, so content is written once and used everywhere.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Design Corner&#039;s main site pulls the latest guides from this knowledge base through the REST API, so they appear on both sites automatically.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Protect write access with application passwords or proper authentication, never shared admin logins.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A built-in way for apps and other websites to read and update WordPress content using code.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[28],"dc_topic":[59,33],"class_list":["post-58","dc_term","type-dc_term","status-publish","hentry","dc_letter-w","dc_topic-programming","dc_topic-wordpress"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":1,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/58\/revisions"}],"predecessor-version":[{"id":307,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/58\/revisions\/307"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=58"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}