{"id":8793,"date":"2012-09-26T23:57:06","date_gmt":"2012-09-26T18:27:06","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=8793"},"modified":"2012-09-26T23:57:06","modified_gmt":"2012-09-26T18:27:06","slug":"fire-plugin-onchangeonconfigchange-event-at-run-time-manually","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/","title":{"rendered":"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually"},"content":{"rendered":"<p>Hi,<\/p>\n<p>&nbsp;<\/p>\n<p>Suppose you have implemented some logic in your application which updates the <strong>Config<\/strong> at runtime. <\/p>\n<p>&nbsp;<\/p>\n<p>Now after you have updated the config, you should notify the plugins about configChanges such that they reload their configurations. This can be done by firing the <strong>onConfigChange<\/strong> Event of the plugins.<\/p>\n<p>&nbsp;<\/p>\n<p>Similarly you can also fire the <strong>onChange<\/strong> event of the plugin(s) whenever required.<\/p>\n<p>&nbsp;<\/p>\n<p>We can do this via the <strong>pluginManager<\/strong> Bean. the Code is As follows:<br \/>\n[java]<br \/>\n\/\/Bean of plugin manager, it can be autowired by name in controllers\/services etc. or can be fetched via the ApplicationContext:getBean() method.<br \/>\ndef pluginManager<br \/>\ndef grailsApplication<\/p>\n<p>\/\/We will notify Config change to all plugins<br \/>\nvoid notifyConfigChangeToAllPlugins(){<br \/>\n    pluginManager.allPlugins.each {<br \/>\n            it.notifyOfEvent(GrailsPlugin.EVENT_ON_CONFIG_CHANGE, grailsApplication.config) \/\/Second parameter is Source of event, here we have just passed the ConfigObject for simplicity.<br \/>\n    }<br \/>\n}<\/p>\n<p>[\/java]<\/p>\n<p>&nbsp;<\/p>\n<p>Now, We will fire the event for a particular plugin:<br \/>\n[java]<\/p>\n<p>void notifyConfigChangeToPlugin(String name){<br \/>\n    pluginManager.getGrailsPlugin(name).notifyOfEvent(GrailsPlugin.EVENT_ON_CONFIG_CHANGE, grailsApplication.config) \/\/Second parameter is Source of event, here we have just passed the ConfigObject for simplicity.<br \/>\n    }<br \/>\n}<\/p>\n<p>[\/java]<\/p>\n<p>&nbsp;<\/p>\n<p>Similarly If we want to fire the OnChange event then we can do as follows:<br \/>\n[java]<br \/>\nvoid notifyOnChangeToAllPlugins(){<br \/>\n    pluginManager.allPlugins.each {<br \/>\n            it.notifyOfEvent(GrailsPlugin.EVENT_ON_CHANGE, myChangedArtifact) \/\/Second parameter is Source of event, here we have just passed the object that has changed in simple terms, and its better if this object is an Artifact, as many plugins call the method .isArtifactOfType on this object as this object is passed in the &quot;event&quot; Map.<br \/>\n    }<br \/>\n} <\/p>\n<p>[\/java]<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Hope It Helps!!<br \/>\n<strong>Kushal Likhi<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, &nbsp; Suppose you have implemented some logic in your application which updates the Config at runtime. &nbsp; Now after you have updated the config, you should notify the plugins about configChanges such that they reload their configurations. This can be done by firing the onConfigChange Event of the plugins. &nbsp; Similarly you can also [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":5,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-8793","post","type-post","status-publish","format-standard","hentry","category-grails"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi, Suppose you have implemented some logic in your application which updates the Config at runtime. Now after you have updated the config, you should notify the plugins about configChanges such that they reload their configurations. This can be done by firing the onConfigChange Event of the plugins. Similarly you can also\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kushal Likhi\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/\" \/>\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=\"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi, Suppose you have implemented some logic in your application which updates the Config at runtime. Now after you have updated the config, you should notify the plugins about configChanges such that they reload their configurations. This can be done by firing the onConfigChange Event of the plugins. Similarly you can also\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/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=\"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi, Suppose you have implemented some logic in your application which updates the Config at runtime. Now after you have updated the config, you should notify the plugins about configChanges such that they reload their configurations. This can be done by firing the onConfigChange Event of the plugins. Similarly you can also\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/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\\\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\\\/#article\",\"name\":\"Fire Plugin OnChange\\\/onConfigChange Event at Run Time Manually | TO THE NEW Blog\",\"headline\":\"Fire Plugin OnChange\\\/onConfigChange Event at Run Time Manually\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kushal\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2012-09-26T23:57:06+05:30\",\"dateModified\":\"2012-09-26T23:57:06+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\\\/#webpage\"},\"articleSection\":\"Grails\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\\\/#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\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\\\/#listItem\",\"name\":\"Fire Plugin OnChange\\\/onConfigChange Event at Run Time Manually\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\\\/#listItem\",\"position\":3,\"name\":\"Fire Plugin OnChange\\\/onConfigChange Event at Run Time Manually\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@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\\\/kushal\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kushal\\\/\",\"name\":\"Kushal Likhi\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9311812a092d64f47eb30d7ad28378cfae924a0cac140ffbb686fcd8a565a57e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kushal Likhi\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\\\/\",\"name\":\"Fire Plugin OnChange\\\/onConfigChange Event at Run Time Manually | TO THE NEW Blog\",\"description\":\"Hi, Suppose you have implemented some logic in your application which updates the Config at runtime. Now after you have updated the config, you should notify the plugins about configChanges such that they reload their configurations. This can be done by firing the onConfigChange Event of the plugins. Similarly you can also\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kushal\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kushal\\\/#author\"},\"datePublished\":\"2012-09-26T23:57:06+05:30\",\"dateModified\":\"2012-09-26T23:57:06+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":"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually | TO THE NEW Blog","description":"Hi, Suppose you have implemented some logic in your application which updates the Config at runtime. Now after you have updated the config, you should notify the plugins about configChanges such that they reload their configurations. This can be done by firing the onConfigChange Event of the plugins. Similarly you can also","canonical_url":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/#article","name":"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually | TO THE NEW Blog","headline":"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/kushal\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2012-09-26T23:57:06+05:30","dateModified":"2012-09-26T23:57:06+05:30","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/#webpage"},"articleSection":"Grails"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/#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\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/www.tothenew.com\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/#listItem","name":"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/#listItem","position":3,"name":"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@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\/kushal\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/kushal\/","name":"Kushal Likhi","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/9311812a092d64f47eb30d7ad28378cfae924a0cac140ffbb686fcd8a565a57e?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kushal Likhi"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/","name":"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually | TO THE NEW Blog","description":"Hi, Suppose you have implemented some logic in your application which updates the Config at runtime. Now after you have updated the config, you should notify the plugins about configChanges such that they reload their configurations. This can be done by firing the onConfigChange Event of the plugins. Similarly you can also","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/kushal\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/kushal\/#author"},"datePublished":"2012-09-26T23:57:06+05:30","dateModified":"2012-09-26T23:57:06+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"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually | TO THE NEW Blog","og:description":"Hi, Suppose you have implemented some logic in your application which updates the Config at runtime. Now after you have updated the config, you should notify the plugins about configChanges such that they reload their configurations. This can be done by firing the onConfigChange Event of the plugins. Similarly you can also","og:url":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually | TO THE NEW Blog","twitter:description":"Hi, Suppose you have implemented some logic in your application which updates the Config at runtime. Now after you have updated the config, you should notify the plugins about configChanges such that they reload their configurations. This can be done by firing the onConfigChange Event of the plugins. Similarly you can also","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"8793","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-30 03:05:56","updated":"2024-02-29 09:36:21","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:\/\/www.tothenew.com\/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:\/\/www.tothenew.com\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tFire Plugin OnChange\/onConfigChange Event at Run Time Manually\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Grails","link":"https:\/\/www.tothenew.com\/blog\/category\/grails\/"},{"label":"Fire Plugin OnChange\/onConfigChange Event at Run Time Manually","link":"https:\/\/www.tothenew.com\/blog\/fire-plugin-onchangeonconfigchange-event-at-run-time-manually\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/8793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=8793"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/8793\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=8793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=8793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=8793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}