{"id":498,"date":"2015-11-13T16:11:20","date_gmt":"2015-11-13T10:41:20","guid":{"rendered":"https:\/\/www.veeble.org\/blog\/?p=498"},"modified":"2023-04-24T15:21:48","modified_gmt":"2023-04-24T09:51:48","slug":"wordpress-rest-api","status":"publish","type":"post","link":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/","title":{"rendered":"All about WordPress REST API"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What are API\u2019s?<\/h2>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" width=\"450\" height=\"249\" src=\"https:\/\/www.veeble.org\/blog\/wp-content\/uploads\/2015\/11\/rest.png\" alt=\"rest\" class=\"wp-image-499\" srcset=\"https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/rest.png 450w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/rest-300x166.png 300w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/rest-370x205.png 370w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/rest-270x149.png 270w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/figure>\n\n\n\n<p>Application Programming Interface abbreviated as API can be considered a medium of communication between two different Applications. APIs are not new to us, when we transfer data between two applications, APIs are what make this possible. For example, when you open an URL from a document editor using a browser, the medium of communication between the document editor and the browser is known as an API and this may be termed as System Level API.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Some <strong>Web-Based APIs<\/strong><\/h2>\n\n\n\n<p>Next, let\u2019s have a look at some of the Web-Based APIs which is the type of API that we are dealing with in this article.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Facebook Graph API<\/h3>\n\n\n\n<p>Facebook provides APIs through which other apps can read and write to Facebook Social Graph, known as Facebook Graph API. Find more <a href=\"https:\/\/developers.facebook.com\/docs\/graph-api\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Google API<\/h3>\n\n\n\n<p>Google provides API for its different services. The iFrame player API provided by google allows you to embed YouTube videos on your website. Google also provides Google Maps API to be used with our location-based applications. Find more <a href=\"https:\/\/developers.google.com\/apis-explorer\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Twitter API<\/h3>\n\n\n\n<p>Twitter API can be used to read and write to Twitter using an external app.<\/p>\n\n\n\n<p>They all do this by exposing some of the internal operations to the outside world with limited access. Find more <a href=\"https:\/\/dev.twitter.com\/overview\/documentation\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why API\u2019s are important?<\/h2>\n\n\n\n<p>You might have noticed, some of our favorite apps provide an option to sign up with Facebook or Google. For this, they are using the API provided by Facebook or Google. This makes our life much easier because we don\u2019t need to remember different usernames and passwords for all our favorite apps. &nbsp;Think about a gamer who saves his game into his DropBox whenever he completes a level. Yes, it&#8217;s possible if the developers of the game make use of APIs provided by DropBox. Hence we can say that APIs are good time savers.<\/p>\n\n\n\n<p>With the data provided by an API, you are free to develop applications in any of your convenient programming languages. Hence we can say APIs make applications language-independent.<br>Most of our location-based apps are based on Google Maps. This is because Google provides API for their map services. This allowed many intelligent developers to come up with useful apps that come in handy when we are traveling. LocoMapia is one such app, which uses Google Maps API, to share your location with your friends.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is REST API?<\/h2>\n\n\n\n<p>If the API service is based on REST architecture, it is known as REST API. What is REST architecture? REpresentational State Transfer (REST) is an approach to communication in web services. REST never requires much amount of bandwidth when compared to other architectures hence is used widely for web service.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is JSON?<\/h2>\n\n\n\n<p>JavaScript Notation abbreviated as JSON is a format that is used to interchange data between two applications. JASON is lightweight and easy to understand when compared to XML. And it\u2019s easy and fast to be generated and parsed by a machine.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is WordPress JSON REST API?&nbsp;<\/h2>\n\n\n\n<p>In simple words, we can say, WordPress JSON REST API, is an easy-to-use REST API for retrieving or updating your WordPress website data in Simple JSON format. Hence it\u2019s not necessary that you should know anything about PHP to put up a WordPress blog.<\/p>\n\n\n\n<p>To start with download the WordPress REST API plugin from https:\/\/wordpress.org\/plugins\/rest-api\/ . This plugin provides easy-to-use REST API which will be available via HTTP. With this, you can grab your site&#8217;s data in JSON format which includes user details, taxonomies, posts etc.<\/p>\n\n\n\n<p><strong>Currently Available Services (With Version 1.2.4)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>wp-json \u2013 Show all the routes and end points.<\/li>\n\n\n\n<li>wp-json\/posts \u2013 Create, read, update, delete posts.<\/li>\n\n\n\n<li>wp-json\/users \u2013 Create, read, update, delete users.<\/li>\n\n\n\n<li>wp-json\/media \u2013 Create, read, update, delete media items.<\/li>\n\n\n\n<li>wp-json\/taxonomies \u2013 Read taxonomies and terms.<\/li>\n\n\n\n<li>wp-json\/pages \u2013 Create, read, update, delete pages.<\/li>\n<\/ul>\n\n\n\n<p>Let\u2019s go through an example which provides the list posts in your WordPress blog in JSON format.<\/p>\n\n\n\n<p>&lt;Your wordpress blog url&gt;\/ wp-json\/wp\/v2\/posts<\/p>\n\n\n\n<p>This will provide you a JSON result with the list of posts that you have in your WordPress blog. An example result is given below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"930\" height=\"489\" src=\"https:\/\/www.veeble.org\/blog\/wp-content\/uploads\/2015\/11\/wp-post.png\" alt=\"wp-post\" class=\"wp-image-500\" srcset=\"https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-post.png 930w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-post-300x158.png 300w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-post-768x404.png 768w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-post-370x195.png 370w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-post-270x142.png 270w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-post-570x300.png 570w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-post-740x389.png 740w\" sizes=\"(max-width: 930px) 100vw, 930px\" \/><\/figure>\n\n\n\n<p>Another example which lists all your pages,<\/p>\n\n\n\n<p>&lt;Your wordpress blog url&gt;\/ wp-json\/wp\/v2\/pages<\/p>\n\n\n\n<p>Result:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"933\" height=\"533\" src=\"https:\/\/www.veeble.org\/blog\/wp-content\/uploads\/2015\/11\/wp-page.png\" alt=\"wp-page\" class=\"wp-image-501\" srcset=\"https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-page.png 933w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-page-300x171.png 300w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-page-768x439.png 768w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-page-370x211.png 370w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-page-270x154.png 270w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-page-570x326.png 570w, https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wp-page-740x423.png 740w\" sizes=\"(max-width: 933px) 100vw, 933px\" \/><\/figure>\n\n\n\n<p>If you want to retrieve a single post you can filter the post result with post id,<\/p>\n\n\n\n<p>&lt;Your WordPress blog url&gt;\/ wp-json\/wp\/v2\/posts\/&lt;id&gt;<\/p>\n\n\n\n<p>This will give you the details of the post with the mentioned post id.<\/p>\n\n\n\n<p>You can also update an existing post and create a new one using WordPress REST API.&nbsp; You can find the complete documentation at http:\/\/wp-api.org.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Use Cases<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An exclusive mobile App for your blog.<\/li>\n\n\n\n<li>Custom-made Dashboard.<\/li>\n\n\n\n<li>Integration of content with other platforms and vice-versa.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What are API\u2019s? Application Programming Interface abbreviated as API can be considered a medium of communication between two different Applications. [&hellip;]<\/p>\n","protected":false},"author":10031,"featured_media":1047,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[93],"tags":[],"class_list":["post-498","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>All about WordPress REST API - Veeble Hosting<\/title>\n<meta name=\"description\" content=\"In this article we talk about the different APIs, why APIs are important and all about WordPress REST Api and its use cases.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"All about WordPress REST API - Veeble Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article we talk about the different APIs, why APIs are important and all about WordPress REST Api and its use cases.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Veeble Hosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/veeble\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-13T10:41:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-24T09:51:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"842\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Nebu John Thaliyath\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@veeble\" \/>\n<meta name=\"twitter:site\" content=\"@veeble\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nebu John Thaliyath\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/\"},\"author\":{\"name\":\"Nebu John Thaliyath\",\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/#\\\/schema\\\/person\\\/29c963dec7ff0e7fdd26ae9523513717\"},\"headline\":\"All about WordPress REST API\",\"datePublished\":\"2015-11-13T10:41:20+00:00\",\"dateModified\":\"2023-04-24T09:51:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/\"},\"wordCount\":808,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/wordpress-552924_1920.jpg\",\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/\",\"url\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/\",\"name\":\"All about WordPress REST API - Veeble Hosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/wordpress-552924_1920.jpg\",\"datePublished\":\"2015-11-13T10:41:20+00:00\",\"dateModified\":\"2023-04-24T09:51:48+00:00\",\"description\":\"In this article we talk about the different APIs, why APIs are important and all about WordPress REST Api and its use cases.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/wordpress-552924_1920.jpg\",\"contentUrl\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/wordpress-552924_1920.jpg\",\"width\":1500,\"height\":842},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/wordpress-rest-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"All about WordPress REST API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/\",\"name\":\"Veeble Hosting\",\"description\":\"Veeble Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/#organization\",\"name\":\"Veeble Hosting\",\"url\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.veeble.org\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/veeble.jpg\",\"contentUrl\":\"https:\\\/\\\/www.veeble.org\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/veeble.jpg\",\"width\":257,\"height\":95,\"caption\":\"Veeble Hosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/veeble\",\"https:\\\/\\\/x.com\\\/veeble\",\"https:\\\/\\\/linkedin.com\\\/company\\\/veeble\\\/\",\"https:\\\/\\\/www.instagram.com\\\/veeble\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/#\\\/schema\\\/person\\\/29c963dec7ff0e7fdd26ae9523513717\",\"name\":\"Nebu John Thaliyath\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aae7d0b102a990d897f8134fd9e515478f4a883ee13e04a6ec1bc0e0a02473b9?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aae7d0b102a990d897f8134fd9e515478f4a883ee13e04a6ec1bc0e0a02473b9?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aae7d0b102a990d897f8134fd9e515478f4a883ee13e04a6ec1bc0e0a02473b9?s=96&d=wavatar&r=g\",\"caption\":\"Nebu John Thaliyath\"},\"url\":\"https:\\\/\\\/www.veeble.com\\\/blog\\\/author\\\/nebu4veeble\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"All about WordPress REST API - Veeble Hosting","description":"In this article we talk about the different APIs, why APIs are important and all about WordPress REST Api and its use cases.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/","og_locale":"en_US","og_type":"article","og_title":"All about WordPress REST API - Veeble Hosting","og_description":"In this article we talk about the different APIs, why APIs are important and all about WordPress REST Api and its use cases.","og_url":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/","og_site_name":"Veeble Hosting","article_publisher":"https:\/\/www.facebook.com\/veeble","article_published_time":"2015-11-13T10:41:20+00:00","article_modified_time":"2023-04-24T09:51:48+00:00","og_image":[{"width":1500,"height":842,"url":"https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920.jpg","type":"image\/jpeg"}],"author":"Nebu John Thaliyath","twitter_card":"summary_large_image","twitter_creator":"@veeble","twitter_site":"@veeble","twitter_misc":{"Written by":"Nebu John Thaliyath","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/#article","isPartOf":{"@id":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/"},"author":{"name":"Nebu John Thaliyath","@id":"https:\/\/www.veeble.com\/blog\/#\/schema\/person\/29c963dec7ff0e7fdd26ae9523513717"},"headline":"All about WordPress REST API","datePublished":"2015-11-13T10:41:20+00:00","dateModified":"2023-04-24T09:51:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/"},"wordCount":808,"commentCount":0,"publisher":{"@id":"https:\/\/www.veeble.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920.jpg","articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/","url":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/","name":"All about WordPress REST API - Veeble Hosting","isPartOf":{"@id":"https:\/\/www.veeble.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/#primaryimage"},"image":{"@id":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920.jpg","datePublished":"2015-11-13T10:41:20+00:00","dateModified":"2023-04-24T09:51:48+00:00","description":"In this article we talk about the different APIs, why APIs are important and all about WordPress REST Api and its use cases.","breadcrumb":{"@id":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/#primaryimage","url":"https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920.jpg","contentUrl":"https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920.jpg","width":1500,"height":842},{"@type":"BreadcrumbList","@id":"https:\/\/www.veeble.com\/blog\/wordpress-rest-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.veeble.com\/blog\/"},{"@type":"ListItem","position":2,"name":"All about WordPress REST API"}]},{"@type":"WebSite","@id":"https:\/\/www.veeble.com\/blog\/#website","url":"https:\/\/www.veeble.com\/blog\/","name":"Veeble Hosting","description":"Veeble Hosting","publisher":{"@id":"https:\/\/www.veeble.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.veeble.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.veeble.com\/blog\/#organization","name":"Veeble Hosting","url":"https:\/\/www.veeble.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.veeble.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.veeble.org\/blog\/wp-content\/uploads\/2016\/11\/veeble.jpg","contentUrl":"https:\/\/www.veeble.org\/blog\/wp-content\/uploads\/2016\/11\/veeble.jpg","width":257,"height":95,"caption":"Veeble Hosting"},"image":{"@id":"https:\/\/www.veeble.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/veeble","https:\/\/x.com\/veeble","https:\/\/linkedin.com\/company\/veeble\/","https:\/\/www.instagram.com\/veeble\/"]},{"@type":"Person","@id":"https:\/\/www.veeble.com\/blog\/#\/schema\/person\/29c963dec7ff0e7fdd26ae9523513717","name":"Nebu John Thaliyath","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/aae7d0b102a990d897f8134fd9e515478f4a883ee13e04a6ec1bc0e0a02473b9?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/aae7d0b102a990d897f8134fd9e515478f4a883ee13e04a6ec1bc0e0a02473b9?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aae7d0b102a990d897f8134fd9e515478f4a883ee13e04a6ec1bc0e0a02473b9?s=96&d=wavatar&r=g","caption":"Nebu John Thaliyath"},"url":"https:\/\/www.veeble.com\/blog\/author\/nebu4veeble\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920.jpg",1500,842,false],"thumbnail":["https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920-150x150.jpg",150,150,true],"medium":["https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920-300x168.jpg",300,168,true],"medium_large":["https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920-768x431.jpg",768,431,true],"large":["https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920-1024x575.jpg",1024,575,true],"1536x1536":["https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920.jpg",1500,842,false],"2048x2048":["https:\/\/www.veeble.com\/blog\/wp-content\/uploads\/2015\/11\/wordpress-552924_1920.jpg",1500,842,false]},"uagb_author_info":{"display_name":"Nebu John Thaliyath","author_link":"https:\/\/www.veeble.com\/blog\/author\/nebu4veeble\/"},"uagb_comment_info":0,"uagb_excerpt":"What are API\u2019s? Application Programming Interface abbreviated as API can be considered a medium of communication between two different Applications. [&hellip;]","_links":{"self":[{"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/posts\/498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/users\/10031"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/comments?post=498"}],"version-history":[{"count":11,"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/posts\/498\/revisions"}],"predecessor-version":[{"id":2675,"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/posts\/498\/revisions\/2675"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/media\/1047"}],"wp:attachment":[{"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/media?parent=498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/categories?post=498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veeble.com\/blog\/wp-json\/wp\/v2\/tags?post=498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}