{"id":3008,"date":"2019-11-03T13:13:06","date_gmt":"2019-11-03T13:13:06","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=3008"},"modified":"2023-07-19T12:03:39","modified_gmt":"2023-07-19T12:03:39","slug":"document-apis","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/","title":{"rendered":"DOCUMENT API\u2019s"},"content":{"rendered":"<ol>\n<li><strong><u>Add Document<\/u><\/strong><\/li>\n<\/ol>\n<p>Documents in Elasticsearch are stored as a JSON object. Also, documents are added to indices, and documents have a type. One Index can have many types &amp; you can store any number of documents in an Index.<\/p>\n<p>In this example, &#8221; information&#8221;, &#8220;person&#8221; and\u00a0 &#8220;1&#8221; are index, type and id respectively, Elasticsearch will automatically create the index if it does not exist.<\/p>\n<p><em>Example:- <\/em><br \/>\n<em>POST \/information\/person\/1<br \/>\n{<br \/>\n\u201cname\u201d : \u201cPaul\u201d,<br \/>\n\u201clastname\u201d : \u201cWheeler\u201d,<br \/>\n\u201cjob_desc\u201d : \u201cManager\u201d<br \/>\n}<\/em><\/p>\n<ol start=\"2\">\n<li><strong><u> Get Document<\/u><\/strong><\/li>\n<\/ol>\n<p>Now that the document is stored, to retrieve the document we use the below API.<\/p>\n<p><em>Example:- \u00a0\u00a0\u00a0\u00a0\u00a0 GET\u00a0 \/information\/person\/1<\/em><\/p>\n<ol start=\"3\">\n<li><strong><u> Update Document<\/u><\/strong><\/li>\n<\/ol>\n<p>To update a document we use below API.<\/p>\n<p><em>Example:-<\/em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>POST\u00a0 \/information\/person\/1\/_update<\/em><\/p>\n<p><em>{<\/em><\/p>\n<p><em>\u201cdoc\u201d:{<br \/>\n\u201cjob_description\u201d : \u201cData analyst\u201d<br \/>\n}<\/em><\/p>\n<p><em>}<\/em><\/p>\n<ol start=\"4\">\n<li><strong><u> Delete Document<\/u><\/strong><\/li>\n<\/ol>\n<p>To delete a document use the below API.<\/p>\n<p><em>Example:-\u00a0 <\/em><\/p>\n<p><em>\u00a0 DELETE \u00a0\/information\/person\/1<\/em><\/p>\n<ol start=\"5\">\n<li><strong><u> Search Document<\/u><\/strong><\/li>\n<\/ol>\n<p>We can search the stored document using either \u201c\/_search?q=something\u201d.<\/p>\n<p>Example:-<\/p>\n<p><em>GET localhost:9200\/_search?q=Paul<\/em><\/p>\n<p><strong><u>\u25baAnalysis Phase In ElasticSearch <\/u><\/strong><br \/>\nElasticsearch\u00a0uses a special data structure called &#8220;<u>Inverted index<\/u>&#8221; for very fast searches. An inverted index is a list of all the unique words that a document contains, and for each word, a list of the documents in which it appears. An inverted index is created from a document indexed in elasticsearch. the <u>process of creating an Inverted index from a document <\/u>called analysis (tokenization and Filterization).<\/p>\n<p>Analysis <u>happens during Indexing a document as well as Searching a document<\/u>. We will see how elasticsearch creates an Inverted index and how it is stored in shards which later used for searching documents.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3009\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas-1024x650.jpg\" alt=\"\" width=\"850\" height=\"540\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas-1024x650.jpg 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas-300x191.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas-768x488.jpg 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas-1200x762.jpg 1200w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas.jpg 1600w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/>\u25baThe analysis process is the key phase in creating an inverted index in shards. whenever you index a document in Elasticsearch, it goes through the analysis phase where documents are tokenized, filtered processed (stemming, synonyms detected and remove stop words).<\/p>\n<p>\u25baFor every document, this inverted index will be created and stored in a temporary buffer until it becomes full. Once the buffer is full, it is flushed into segments.<\/p>\n<p>\u25baA segment is the smallest logical unit of a Shard basically small blocks where you can store a list of the inverted index. Shard is like a collection of segments. Segments are filled with a flushed inverted index.<\/p>\n<p>\u25baOnce a segment is filled completely with an inverted index, shards become eligible for searching. Segments created are an immutable collection of the immutable inverted index.<\/p>\n<p><strong><u>EXAMPLE: <\/u><\/strong>Consider two documents text below for analysis.<\/p>\n<p>Here, we\u2019re indexing these documents to ELS.<\/p>\n<p>POST \/user\/tweets\/<\/p>\n<p>{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201c name\u201d: \u201cRohit\u201d<\/p>\n<p>\u201c comment\u201d: \u201cThe thin lifeguard was swimming in the lake.\u201d<\/p>\n<p>\u201c date\u201d: \u201c2018-10-27\u201d\u00a0\u00a0\u00a0\u00a0 }<\/p>\n<p>{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201c name\u201d: \u201cAmol\u201d<\/p>\n<p>\u201c comment\u201d: \u201cSwimmers race with the skinny lifeguard in the lake\u201d<\/p>\n<p>\u201c date\u201d: \u201c2018-10-28\u201d\u00a0\u00a0\u00a0\u00a0 }<\/p>\n<p>Let&#8217;s assume we are interested in the comment fields of a document. We have two texts to consider for analysis.<br \/>\n1. The thin lifeguard was swimming in the lake<br \/>\n2. Swimmers race with the skinny lifeguard in lake<br \/>\n<strong><u>\u25baTokenization<\/u><\/strong><u>:<\/u> To create an inverted index, we simply split the comment of each document into separate words (which we call terms or tokens), creates a sorted list of all the unique terms, along with the list in which document each term\/token appears.<\/p>\n<table width=\"775\">\n<tbody>\n<tr>\n<td><strong>Token<\/strong><\/td>\n<td><strong>Present in Document<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>\u00a0<\/strong><\/td>\n<td><strong>\u00a0<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Swimmers<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>The<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>in<\/td>\n<td>1,2<\/td>\n<\/tr>\n<tr>\n<td>lifeguard<\/td>\n<td>1,2<\/td>\n<\/tr>\n<tr>\n<td>lake<\/td>\n<td>1,2<\/td>\n<\/tr>\n<tr>\n<td>race<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>skinny<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>swimming<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>the<\/td>\n<td>1,2<\/td>\n<\/tr>\n<tr>\n<td>thin<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>was<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>with<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u25baFiltering<\/strong>: After the tokenization filtering process is applied to these. Filters are such as:<\/p>\n<p style=\"padding-left: 30px;\">\u25baRemoving stop words (a, an, the, in, etc. of the English word)<\/p>\n<p style=\"padding-left: 30px;\">\u25baLowercasing (To make search case insensitive)<\/p>\n<p style=\"padding-left: 30px;\">\u25bastemming (swimming to swim)<\/p>\n<p style=\"padding-left: 30px;\">\u25basynonymous ( thin == skinny )<\/p>\n<p>After these operations, the output which is an inverted index is pushed into buffer.<\/p>\n<p><strong><u>\u25baANALYSERS In ElasticSearch<\/u><\/strong><br \/>\nElasticsearch provides pre-builtin analyzers which can be used in any index without further configuration. Here is a list of elastic search built-in analyzers.<\/p>\n<ol>\n<li>Standard Analyzer (Default)<\/li>\n<li>Simple Analyzer<\/li>\n<li>Whitespace Analyzer<\/li>\n<li>Stop Analyzer<\/li>\n<li>Keyword Analyzer<\/li>\n<li>Pattern Analyzer<\/li>\n<li>Language Analyzers (English, Hindi, French, Spanish &amp; many more)<\/li>\n<li>Custom Analyser (we can define our own custom analyzer as well)<\/li>\n<\/ol>\n<h3><strong>\u2666<\/strong><u><\/u><strong><u>Bulk Load in ElasticSearch<\/u><\/strong><\/h3>\n<p>Bulk load is nothing but indexing\/inserting more than one documents at a time.<\/p>\n<p>We have to use the _bulk keyword to upload bulk data.<\/p>\n<p><u>Example.<\/u><\/p>\n<p>(this command will index these 3 documents into vehicles index inside cars type.)<\/p>\n<p>POST \/vehicles\/cars\/_bulk<\/p>\n<p>{ &#8220;index&#8221;: {}}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/index for doc 1<\/p>\n<p>{ &#8220;price&#8221; : 10000, &#8220;colour&#8221; : &#8220;white&#8221;, &#8220;make&#8221; : &#8220;Honda&#8221;, &#8220;sold&#8221; : &#8220;2016-10-28&#8221;, &#8220;condition&#8221;: &#8220;okay&#8221;}<\/p>\n<p>{ &#8220;index&#8221;: {}}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/index for doc 2<\/p>\n<p>{ &#8220;price&#8221; : 20000, &#8220;colour&#8221; : &#8220;white&#8221;, &#8220;make&#8221; : &#8220;Honda&#8221;, &#8220;sold&#8221; : &#8220;2016-11-05&#8221;, &#8220;condition&#8221;: &#8220;new&#8221;}<\/p>\n<p>{ &#8220;index&#8221;: {}}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/index for doc 3<\/p>\n<p>{ &#8220;price&#8221; : 30000, &#8220;colour&#8221; : &#8220;green&#8221;, &#8220;make&#8221; : &#8220;ford&#8221;, &#8220;sold&#8221; : &#8220;2016-05-18&#8221;, &#8220;condition&#8221;: &#8220;new&#8221;}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add Document Documents in Elasticsearch are stored as a JSON object. Also, documents are added to indices, and documents have a type. One Index can have many types &amp; you can store any number of documents in an Index. In this example, &#8221; information&#8221;, &#8220;person&#8221; and\u00a0 &#8220;1&#8221; are index, type and id respectively, Elasticsearch will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57,1702],"tags":[],"class_list":["post-3008","post","type-post","status-publish","format-standard","hentry","category-elastic-search","category-elasticsearch-modules"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>DOCUMENT API\u2019s - Prwatech<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DOCUMENT API\u2019s - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Add Document Documents in Elasticsearch are stored as a JSON object. Also, documents are added to indices, and documents have a type. One Index can have many types &amp; you can store any number of documents in an Index. In this example, &#8221; information&#8221;, &#8220;person&#8221; and\u00a0 &#8220;1&#8221; are index, type and id respectively, Elasticsearch will [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-11-03T13:13:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-19T12:03:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas-1024x650.jpg\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/\",\"url\":\"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/\",\"name\":\"DOCUMENT API\u2019s - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas-1024x650.jpg\",\"datePublished\":\"2019-11-03T13:13:06+00:00\",\"dateModified\":\"2023-07-19T12:03:39+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas.jpg\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas.jpg\",\"width\":1600,\"height\":1016},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOCUMENT API\u2019s\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DOCUMENT API\u2019s - Prwatech","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"DOCUMENT API\u2019s - Prwatech","og_description":"Add Document Documents in Elasticsearch are stored as a JSON object. Also, documents are added to indices, and documents have a type. One Index can have many types &amp; you can store any number of documents in an Index. In this example, &#8221; information&#8221;, &#8220;person&#8221; and\u00a0 &#8220;1&#8221; are index, type and id respectively, Elasticsearch will [&hellip;]","og_url":"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-11-03T13:13:06+00:00","article_modified_time":"2023-07-19T12:03:39+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas-1024x650.jpg","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/","url":"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/","name":"DOCUMENT API\u2019s - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas-1024x650.jpg","datePublished":"2019-11-03T13:13:06+00:00","dateModified":"2023-07-19T12:03:39+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas.jpg","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/elas.jpg","width":1600,"height":1016},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/elastic-search\/elasticsearch-modules\/document-apis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"DOCUMENT API\u2019s"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/3008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=3008"}],"version-history":[{"count":6,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/3008\/revisions"}],"predecessor-version":[{"id":3822,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/3008\/revisions\/3822"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=3008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=3008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=3008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}