{"id":24556,"date":"2015-07-31T11:12:33","date_gmt":"2015-07-31T05:42:33","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=24556"},"modified":"2015-07-31T11:12:33","modified_gmt":"2015-07-31T05:42:33","slug":"push-notification-in-android-using-grails","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/","title":{"rendered":"Push Notification in Android Using Grails"},"content":{"rendered":"<p>Hi All,<\/p>\n<p>I had a use case where I need to send the push notification to Android Device using Grails Application.<\/p>\n<p>For sending push notification I have used the <strong>Android GCM<\/strong> plugin.<\/p>\n<p>So, before going further we should know what is push notification and how it works.<\/p>\n<p><strong>Push Notification <\/strong> : It is a message or events delivered by a centralized server to an endpoint device even when the user is not actively using your application.<\/p>\n<p><strong>How it Works <\/strong> :<\/p>\n<ol>\n<li> We need to create an application in <strong>Google Play Developer console<\/strong> , after creating the application it will provide us with a key through which our application will send the notification to GCM server.<\/li>\n<li> Then we need to install ANDROID app on our device which will sends sender ID and application ID to GCM server for registration(Generally done by Android Developer).<\/li>\n<li> Upon successful registration GCM server issues registration ID to Android device.<\/li>\n<li> After receiving registration ID, the device will send the registration ID to our server.<\/li>\n<li> Our server will store the registration ID in the database for later usage.<\/li>\n<li> Whenever a push notification is needed, our server sends a message to GCM server along with the device registration ID (which has been stored  earlier in the database).<\/li>\n<li> After sending the push notification to the GCM server then it is the responsibilty of GCM server to send the push notification to the desired device using registration ID.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/07\/Android-Push.jpg\" alt=\"Android Push\" width=\"600\" height=\"430\" class=\"alignnone size-full wp-image-24580\" \/><\/p>\n<p><strong>Let\u2019s start by taking an example.<\/strong><\/p>\n<p>In order to use the plugin we must include in BuildConfig.groovy<\/p>\n<p>[java]compile &quot;:android-gcm:0.2&quot;[\/java]<\/p>\n<p>and we can also keep GCM key in Config.groovy<\/p>\n<p>For sending push notification we have to use androidGcmService provided by the plugin and it gives us different methods for sending push notification, in my case I have used sendMessage(Map data, List registrationIds, String collapseKey, String apiKey).<\/p>\n<p><span style=\"text-decoration: underline\">BirthdayReminderJob<\/span><\/p>\n<p>[java]<br \/>\nclass BirthdayReminderJob {<\/p>\n<p>    def userService<br \/>\n    def googleCloudMessagingService<\/p>\n<p>    static triggers = {<br \/>\n        cron name: &#8216;birthdayReminder&#8217;, cronExpression: &quot;0 20 5 1\/1 * ? *&quot;<br \/>\n    }<\/p>\n<p>    def execute() {<br \/>\n         List&lt;User&gt; birthdayUserList = userService.birthdayList()<br \/>\n         if (birthdayUserList) {<br \/>\n            googleCloudMessagingService.sendPushNotification(birthdayUserList)<br \/>\n        }<br \/>\n    }<br \/>\n}<br \/>\n[\/java]<\/p>\n<p><span style=\"text-decoration: underline\">GoogleCloudMessagingService<\/span><\/p>\n<p>[java]<br \/>\nclass GoogleCloudMessagingService {<\/p>\n<p>    def androidGcmService<br \/>\n    def mobileAppUserService<br \/>\n    def grailsApplication<br \/>\n    def mobileUtilService<\/p>\n<p>    void sendPushNotification(List&lt;User&gt; birthdayList) {<br \/>\n        List&lt;String&gt; tokenList = mobileAppUserService.getTokenList(MobilePlatform.ANDROID)<br \/>\n        Map birthDayMap = mobileUtilService.getNotification(birthdayList, tokenList)<br \/>\n        if (birthDayMap) {<br \/>\n            Map response = [&quot;response&quot;: JsonOutput.toJson(birthDayMap)]<br \/>\n            sendPushNotificationToAndroidUser(response, tokenList)<br \/>\n        }<br \/>\n    }<\/p>\n<p>    void sendPushNotificationToAndroidUser(Map response, List&lt;String&gt; tokenList) {<br \/>\n        sendMulticastInstantMessage(response, tokenList)<br \/>\n    }<\/p>\n<p>    void sendMulticastInstantMessage(Map response, List&lt;String&gt; registrationIds, String apiKey = apiKeyFromConfig()) {<br \/>\n        androidGcmService.sendMessage(response, registrationIds, &#8221;, apiKey)<br \/>\n    }<\/p>\n<p>    String apiKeyFromConfig() {<br \/>\n        return grailsApplication.config.android.gcm.api.key<br \/>\n    }<br \/>\n}<\/p>\n<p>[\/java]<\/p>\n<p>Hope this helps !! \ud83d\ude42 \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi All, I had a use case where I need to send the push notification to Android Device using Grails Application. For sending push notification I have used the Android GCM plugin. So, before going further we should know what is push notification and how it works. Push Notification : It is a message or [&hellip;]<\/p>\n","protected":false},"author":96,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":11,"footnotes":""},"categories":[518,7,1],"tags":[4845,2084,4840,4844,2078],"class_list":["post-24556","post","type-post","status-publish","format-standard","hentry","category-android","category-grails","category-technology","tag-android","tag-gcm","tag-grails","tag-java","tag-notification"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi All, I had a use case where I need to send the push notification to Android Device using Grails Application. For sending push notification I have used the Android GCM plugin. So, before going further we should know what is push notification and how it works. Push Notification : It is a message or\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"madhav.khanna\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/\" \/>\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=\"Push Notification in Android Using Grails | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi All, I had a use case where I need to send the push notification to Android Device using Grails Application. For sending push notification I have used the Android GCM plugin. So, before going further we should know what is push notification and how it works. Push Notification : It is a message or\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/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=\"Push Notification in Android Using Grails | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi All, I had a use case where I need to send the push notification to Android Device using Grails Application. For sending push notification I have used the Android GCM plugin. So, before going further we should know what is push notification and how it works. Push Notification : It is a message or\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/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\\\/push-notification-in-android-using-grails\\\/#article\",\"name\":\"Push Notification in Android Using Grails | TO THE NEW Blog\",\"headline\":\"Push Notification in Android Using Grails\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/madhav-khanna\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2015\\\/07\\\/Android-Push.jpg\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/push-notification-in-android-using-grails\\\/#articleImage\"},\"datePublished\":\"2015-07-31T11:12:33+05:30\",\"dateModified\":\"2015-07-31T11:12:33+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/push-notification-in-android-using-grails\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/push-notification-in-android-using-grails\\\/#webpage\"},\"articleSection\":\"Android, Grails, Technology, Android, GCM, Grails, Java, Notification\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/push-notification-in-android-using-grails\\\/#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\\\/push-notification-in-android-using-grails\\\/#listItem\",\"name\":\"Push Notification in Android Using Grails\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/push-notification-in-android-using-grails\\\/#listItem\",\"position\":3,\"name\":\"Push Notification in Android Using Grails\",\"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\\\/madhav-khanna\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/madhav-khanna\\\/\",\"name\":\"madhav.khanna\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/push-notification-in-android-using-grails\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/197362330e9b8015375fa21dfe3356a635edc1dfb367028c4414d92b857b9f68?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"madhav.khanna\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/push-notification-in-android-using-grails\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/push-notification-in-android-using-grails\\\/\",\"name\":\"Push Notification in Android Using Grails | TO THE NEW Blog\",\"description\":\"Hi All, I had a use case where I need to send the push notification to Android Device using Grails Application. For sending push notification I have used the Android GCM plugin. So, before going further we should know what is push notification and how it works. Push Notification : It is a message or\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/push-notification-in-android-using-grails\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/madhav-khanna\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/madhav-khanna\\\/#author\"},\"datePublished\":\"2015-07-31T11:12:33+05:30\",\"dateModified\":\"2015-07-31T11:12:33+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":"Push Notification in Android Using Grails | TO THE NEW Blog","description":"Hi All, I had a use case where I need to send the push notification to Android Device using Grails Application. For sending push notification I have used the Android GCM plugin. So, before going further we should know what is push notification and how it works. Push Notification : It is a message or","canonical_url":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/#article","name":"Push Notification in Android Using Grails | TO THE NEW Blog","headline":"Push Notification in Android Using Grails","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/madhav-khanna\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2015\/07\/Android-Push.jpg","@id":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/#articleImage"},"datePublished":"2015-07-31T11:12:33+05:30","dateModified":"2015-07-31T11:12:33+05:30","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/#webpage"},"articleSection":"Android, Grails, Technology, Android, GCM, Grails, Java, Notification"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/tothenewco.pro\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/#listItem","name":"Push Notification in Android Using Grails"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/#listItem","position":3,"name":"Push Notification in Android Using Grails","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/madhav-khanna\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/madhav-khanna\/","name":"madhav.khanna","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/197362330e9b8015375fa21dfe3356a635edc1dfb367028c4414d92b857b9f68?s=96&d=mm&r=g","width":96,"height":96,"caption":"madhav.khanna"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/","name":"Push Notification in Android Using Grails | TO THE NEW Blog","description":"Hi All, I had a use case where I need to send the push notification to Android Device using Grails Application. For sending push notification I have used the Android GCM plugin. So, before going further we should know what is push notification and how it works. Push Notification : It is a message or","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/madhav-khanna\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/madhav-khanna\/#author"},"datePublished":"2015-07-31T11:12:33+05:30","dateModified":"2015-07-31T11:12:33+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Push Notification in Android Using Grails | TO THE NEW Blog","og:description":"Hi All, I had a use case where I need to send the push notification to Android Device using Grails Application. For sending push notification I have used the Android GCM plugin. So, before going further we should know what is push notification and how it works. Push Notification : It is a message or","og:url":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Push Notification in Android Using Grails | TO THE NEW Blog","twitter:description":"Hi All, I had a use case where I need to send the push notification to Android Device using Grails Application. For sending push notification I have used the Android GCM plugin. So, before going further we should know what is push notification and how it works. Push Notification : It is a message or","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"24556","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","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":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","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:29:19","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:\/\/tothenewco.pro\/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:\/\/tothenewco.pro\/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\tPush Notification in Android Using Grails\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"Technology","link":"https:\/\/tothenewco.pro\/blog\/category\/technology\/"},{"label":"Push Notification in Android Using Grails","link":"https:\/\/tothenewco.pro\/blog\/push-notification-in-android-using-grails\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/24556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/96"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=24556"}],"version-history":[{"count":0,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/24556\/revisions"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=24556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=24556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=24556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}