{"id":10948,"date":"2013-10-04T20:35:56","date_gmt":"2013-10-04T15:05:56","guid":{"rendered":"https:\/\/2thenew.today\/blog\/?p=10948"},"modified":"2016-12-19T15:31:03","modified_gmt":"2016-12-19T10:01:03","slug":"group-by-in-mongodbwith-group","status":"publish","type":"post","link":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/","title":{"rendered":"Group By in MongoDB(with $group)"},"content":{"rendered":"<p><strong>MongoDB<\/strong> provides a rich set of <strong>aggregation<\/strong>. <strong>$group<\/strong> is one of them, with the help of <strong>$group<\/strong>, we can <strong>group<\/strong>  documents (similar as <strong>group By<\/strong> in <strong>SQL<\/strong>). Lets understand by an example:<\/p>\n<p>Suppose we have following collection of blogs:<br \/>\n[js]<br \/>\n{ userId:1, name:&#8221;Suroor&#8221;, title:&#8221;AngularJS: Getting started with Directive&#8221;, rating:3}<br \/>\n{ userId:2, name:&#8221;Amit&#8221;, title:&#8221;AngularJS: Getting started with Directive&#8221;, rating:5}<br \/>\n{ userId:3, name:&#8221;PI&#8221;, title:&#8221;Prototype in Javascript&#8221;, rating:4}<br \/>\n{ userId:2, name:&#8221;Amit&#8221;, title:&#8221;this keyword in Javascript&#8221;, rating:5}<br \/>\n[\/js]<br \/>\nAnd now we want to <strong>group<\/strong> all the blogs by userId and rating greater then 3:<br \/>\n[js]<br \/>\ndb.blogs.aggregate([{$match:{rating:{$gt:3}}}, {$group:{ _id: &#8216;$userId&#8217;, title: { $push: &#8216;$title&#8217;}}}]);<br \/>\n[\/js]<br \/>\nThis will return <strong>grouped<\/strong> result of all the blogs with id and title whose rating is greater then <strong>3<\/strong>. Here <strong>$match<\/strong> will match the condition, <strong>$group<\/strong> groups all the documents by field-name which is provided as _id and <strong>$push<\/strong> will add the title into result.<\/p>\n<p><strong>OUTPUT:<\/strong><br \/>\n[js]<br \/>\n{<br \/>\n\t&#8220;result&#8221; : [<br \/>\n\t\t{<br \/>\n\t\t\t&#8220;_id&#8221; : 3,<br \/>\n\t\t\t&#8220;title&#8221; : [<br \/>\n\t\t\t\t&#8220;Prototype in Javascript&#8221;<br \/>\n\t\t\t]<br \/>\n\t\t},<br \/>\n\t\t{<br \/>\n\t\t\t&#8220;_id&#8221; : 2,<br \/>\n\t\t\t&#8220;title&#8221; : [<br \/>\n\t\t\t\t&#8220;AngularJS: Getting started with Directive&#8221;,<br \/>\n\t\t\t\t&#8220;this keyword in Javascript&#8221;<br \/>\n\t\t\t]<br \/>\n\t\t}<br \/>\n\t],<br \/>\n\t&#8220;ok&#8221; : 1<br \/>\n}<br \/>\n[\/js]<\/p>\n<p>Amit Kumar<br \/>\n<a href=\"https:\/\/2thenew.today\/blog\/author\/amit.kumar\/\">amit.kumar@intelligrape.com<\/a><br \/>\nin.linkedin.com\/in\/amitkumar0110<br \/>\ntwitter.com\/amit_kumar0110<br \/>\n<strong><a href=\"https:\/\/2thenew.today\/blog\/author\/amit-kumar\/\">More Blogs by Me<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MongoDB provides a rich set of aggregation. $group is one of them, with the help of $group, we can group documents (similar as group By in SQL). Lets understand by an example: Suppose we have following collection of blogs: [js] { userId:1, name:&#8221;Suroor&#8221;, title:&#8221;AngularJS: Getting started with Directive&#8221;, rating:3} { userId:2, name:&#8221;Amit&#8221;, title:&#8221;AngularJS: Getting started [&hellip;]<\/p>\n","protected":false},"author":52,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":2,"footnotes":""},"categories":[1],"tags":[1223,1149,1151,4846],"class_list":["post-10948","post","type-post","status-publish","format-standard","hentry","category-technology","tag-match","tag-group","tag-groupby","tag-mongodb"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"MongoDB provides a rich set of aggregation. $group is one of them, with the help of $group, we can group documents (similar as group By in SQL). Lets understand by an example: Suppose we have following collection of blogs: [js] { userId:1, name:&quot;Suroor&quot;, title:&quot;AngularJS: Getting started with Directive&quot;, rating:3} { userId:2, name:&quot;Amit&quot;, title:&quot;AngularJS: Getting started\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Amit Kumar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Group By in MongoDB(with $group) | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"MongoDB provides a rich set of aggregation. $group is one of them, with the help of $group, we can group documents (similar as group By in SQL). Lets understand by an example: Suppose we have following collection of blogs: [js] { userId:1, name:&quot;Suroor&quot;, title:&quot;AngularJS: Getting started with Directive&quot;, rating:3} { userId:2, name:&quot;Amit&quot;, title:&quot;AngularJS: Getting started\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Group By in MongoDB(with $group) | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"MongoDB provides a rich set of aggregation. $group is one of them, with the help of $group, we can group documents (similar as group By in SQL). Lets understand by an example: Suppose we have following collection of blogs: [js] { userId:1, name:&quot;Suroor&quot;, title:&quot;AngularJS: Getting started with Directive&quot;, rating:3} { userId:2, name:&quot;Amit&quot;, title:&quot;AngularJS: Getting started\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/group-by-in-mongodbwith-group\\\/#article\",\"name\":\"Group By in MongoDB(with $group) | TO THE NEW Blog\",\"headline\":\"Group By in MongoDB(with $group)\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/amit-kumar\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2013-10-04T20:35:56+05:30\",\"dateModified\":\"2016-12-19T15:31:03+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/group-by-in-mongodbwith-group\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/group-by-in-mongodbwith-group\\\/#webpage\"},\"articleSection\":\"Technology, $match, group, groupby, MongoDB\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/group-by-in-mongodbwith-group\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/group-by-in-mongodbwith-group\\\/#listItem\",\"name\":\"Group By in MongoDB(with $group)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/group-by-in-mongodbwith-group\\\/#listItem\",\"position\":3,\"name\":\"Group By in MongoDB(with $group)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/amit-kumar\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/amit-kumar\\\/\",\"name\":\"Amit Kumar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/group-by-in-mongodbwith-group\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/859356966acd3c3879759369c7ac72cfb81228287bfc78e99c3080bee9b6b9ba?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Amit Kumar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/group-by-in-mongodbwith-group\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/group-by-in-mongodbwith-group\\\/\",\"name\":\"Group By in MongoDB(with $group) | TO THE NEW Blog\",\"description\":\"MongoDB provides a rich set of aggregation. $group is one of them, with the help of $group, we can group documents (similar as group By in SQL). Lets understand by an example: Suppose we have following collection of blogs: [js] { userId:1, name:\\\"Suroor\\\", title:\\\"AngularJS: Getting started with Directive\\\", rating:3} { userId:2, name:\\\"Amit\\\", title:\\\"AngularJS: Getting started\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/group-by-in-mongodbwith-group\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/amit-kumar\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/amit-kumar\\\/#author\"},\"datePublished\":\"2013-10-04T20:35:56+05:30\",\"dateModified\":\"2016-12-19T15:31:03+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Group By in MongoDB(with $group) | TO THE NEW Blog","description":"MongoDB provides a rich set of aggregation. $group is one of them, with the help of $group, we can group documents (similar as group By in SQL). Lets understand by an example: Suppose we have following collection of blogs: [js] { userId:1, name:\"Suroor\", title:\"AngularJS: Getting started with Directive\", rating:3} { userId:2, name:\"Amit\", title:\"AngularJS: Getting started","canonical_url":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/#article","name":"Group By in MongoDB(with $group) | TO THE NEW Blog","headline":"Group By in MongoDB(with $group)","author":{"@id":"https:\/\/2thenew.today\/blog\/author\/amit-kumar\/#author"},"publisher":{"@id":"https:\/\/2thenew.today\/blog\/#organization"},"datePublished":"2013-10-04T20:35:56+05:30","dateModified":"2016-12-19T15:31:03+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/#webpage"},"articleSection":"Technology, $match, group, groupby, MongoDB"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.today\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/2thenew.today\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/#listItem","name":"Group By in MongoDB(with $group)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/#listItem","position":3,"name":"Group By in MongoDB(with $group)","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.today\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.today\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.today\/blog\/author\/amit-kumar\/#author","url":"https:\/\/2thenew.today\/blog\/author\/amit-kumar\/","name":"Amit Kumar","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/859356966acd3c3879759369c7ac72cfb81228287bfc78e99c3080bee9b6b9ba?s=96&d=mm&r=g","width":96,"height":96,"caption":"Amit Kumar"}},{"@type":"WebPage","@id":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/#webpage","url":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/","name":"Group By in MongoDB(with $group) | TO THE NEW Blog","description":"MongoDB provides a rich set of aggregation. $group is one of them, with the help of $group, we can group documents (similar as group By in SQL). Lets understand by an example: Suppose we have following collection of blogs: [js] { userId:1, name:\"Suroor\", title:\"AngularJS: Getting started with Directive\", rating:3} { userId:2, name:\"Amit\", title:\"AngularJS: Getting started","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.today\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.today\/blog\/author\/amit-kumar\/#author"},"creator":{"@id":"https:\/\/2thenew.today\/blog\/author\/amit-kumar\/#author"},"datePublished":"2013-10-04T20:35:56+05:30","dateModified":"2016-12-19T15:31:03+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.today\/blog\/#website","url":"https:\/\/2thenew.today\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.today\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Group By in MongoDB(with $group) | TO THE NEW Blog","og:description":"MongoDB provides a rich set of aggregation. $group is one of them, with the help of $group, we can group documents (similar as group By in SQL). Lets understand by an example: Suppose we have following collection of blogs: [js] { userId:1, name:&quot;Suroor&quot;, title:&quot;AngularJS: Getting started with Directive&quot;, rating:3} { userId:2, name:&quot;Amit&quot;, title:&quot;AngularJS: Getting started","og:url":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/","og:image":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Group By in MongoDB(with $group) | TO THE NEW Blog","twitter:description":"MongoDB provides a rich set of aggregation. $group is one of them, with the help of $group, we can group documents (similar as group By in SQL). Lets understand by an example: Suppose we have following collection of blogs: [js] { userId:1, name:&quot;Suroor&quot;, title:&quot;AngularJS: Getting started with Directive&quot;, rating:3} { userId:2, name:&quot;Amit&quot;, title:&quot;AngularJS: Getting started","twitter:image":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"10948","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 14:23:11","updated":"2024-02-29 09:10:23","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.today\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.today\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tGroup By in MongoDB(with $group)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.today\/blog"},{"label":"Technology","link":"https:\/\/2thenew.today\/blog\/category\/technology\/"},{"label":"Group By in MongoDB(with $group)","link":"https:\/\/2thenew.today\/blog\/group-by-in-mongodbwith-group\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts\/10948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/comments?post=10948"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts\/10948\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/media?parent=10948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/categories?post=10948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/tags?post=10948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}