{"id":2739,"date":"2011-02-10T11:09:04","date_gmt":"2011-02-10T05:39:04","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=2739"},"modified":"2016-12-19T15:19:23","modified_gmt":"2016-12-19T09:49:23","slug":"modifying-grails-scaffolded-templates-i","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/","title":{"rendered":"Modifying Grails Scaffolded templates &#8211; I"},"content":{"rendered":"<p>In one of the sessions in SpringOne2GX, there was a session on Uber-Scaffolding by Jean Barmarsh. The session was quite incredible and opened up a world of possibilities. We all know that the scaffolded code generated by grails is modifiable if we install the base templates. This is done simply by saying:<\/p>\n<p>[java]grails install-templates[\/java]<\/p>\n<p>The above command will create the following directory structure in the application&#8217;s src folder<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2011\/02\/grailsTemplates.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2742 aligncenter\" title=\"grailsTemplates\" src=\"\/blog\/wp-ttn-blog\/uploads\/2011\/02\/grailsTemplates.png\" alt=\"Blog image\" width=\"272\" height=\"598\" \/><\/a><br \/>\nAs we can see, there are 3 main directories here :<\/p>\n<ol>\n<li>Artifacts: This directory contains all the base files for creating various artifacts. For example, if you say &#8220;grails create-domain-class packageName.className&#8221;, then the file &#8220;src\/artifacts\/DomainClass.groovy&#8221; is taken as the template for creating this file. Same goes for other artifacts like filters, taglibs, controllers, etc.<\/li>\n<li>Scaffolding: This directory contains the template files that are used for generating scaffolded code(controllers and views).<\/li>\n<li>War : This just contains the web.xml file. If you need to add some configuration block(e.g. session-timeout, etc)<\/li>\n<\/ol>\n<p>Now there are a lot of things that we may need to modify in the grails templates, the pagination size being one. So, the first change that I did was made the &#8220;max&#8221; parameter in controller be Config driven simply by replacing :<\/p>\n<p>[java]<\/p>\n<p>params.max = Math.min(params.max ? params.int(&#8216;max&#8217;) : 10, 100)<\/p>\n<p>[\/java]<\/p>\n<p>by<\/p>\n<p>[java]<\/p>\n<p>int pageSize = grailsApplication.config.grails.scaffolds.pageSize ?: 10<br \/>\nparams.max = Math.min(params.max ? params.int(&#8216;max&#8217;) : pageSize, 100)<\/p>\n<p>[\/java]<\/p>\n<p>This was the simplest thing that was done.<\/p>\n<p>In order to use the changed scaffolding, there are two ways of doing this:<\/p>\n<ol>\n<li>[java]grails generate-all MyDomainClass[\/java]<\/li>\n<li>Create an empty controller, and put the following code in it : [java]def scaffold = MyDomainClass[\/java]<\/li>\n<\/ol>\n<blockquote><p><strong>Note<\/strong>: When playing around with grails templates, be very careful not  to format this code using an IDE. The formatting  will add unwanted  spaces and the grails create-*\/generate-* commands will start  failing  or produce wrong\/unusable files.<\/p><\/blockquote>\n<p>Will be back with more \ud83d\ude42<\/p>\n<p>Regards<br \/>\n~~Himanshu Seth~~<\/p>\n<p>https:\/\/tothenewco.pro<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In one of the sessions in SpringOne2GX, there was a session on Uber-Scaffolding by Jean Barmarsh. The session was quite incredible and opened up a world of possibilities. We all know that the scaffolded code generated by grails is modifiable if we install the base templates. This is done simply by saying: [java]grails install-templates[\/java] The [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":8,"footnotes":""},"categories":[7],"tags":[4840,514],"class_list":["post-2739","post","type-post","status-publish","format-standard","hentry","category-grails","tag-grails","tag-scaffolding"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In one of the sessions in SpringOne2GX, there was a session on Uber-Scaffolding by Jean Barmarsh. The session was quite incredible and opened up a world of possibilities. We all know that the scaffolded code generated by grails is modifiable if we install the base templates. This is done simply by saying: [java]grails install-templates[\/java] The\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Himanshu Seth\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/\" \/>\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=\"Modifying Grails Scaffolded templates \u2013 I | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In one of the sessions in SpringOne2GX, there was a session on Uber-Scaffolding by Jean Barmarsh. The session was quite incredible and opened up a world of possibilities. We all know that the scaffolded code generated by grails is modifiable if we install the base templates. This is done simply by saying: [java]grails install-templates[\/java] The\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/\" \/>\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=\"Modifying Grails Scaffolded templates \u2013 I | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In one of the sessions in SpringOne2GX, there was a session on Uber-Scaffolding by Jean Barmarsh. The session was quite incredible and opened up a world of possibilities. We all know that the scaffolded code generated by grails is modifiable if we install the base templates. This is done simply by saying: [java]grails install-templates[\/java] The\" \/>\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\\\/modifying-grails-scaffolded-templates-i\\\/#article\",\"name\":\"Modifying Grails Scaffolded templates \\u2013 I | TO THE NEW Blog\",\"headline\":\"Modifying Grails Scaffolded templates &#8211; I\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/himanshu\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2011\\\/02\\\/grailsTemplates.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/modifying-grails-scaffolded-templates-i\\\/#articleImage\"},\"datePublished\":\"2011-02-10T11:09:04+05:30\",\"dateModified\":\"2016-12-19T15:19:23+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/modifying-grails-scaffolded-templates-i\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/modifying-grails-scaffolded-templates-i\\\/#webpage\"},\"articleSection\":\"Grails, Grails, scaffolding\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/modifying-grails-scaffolded-templates-i\\\/#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\\\/modifying-grails-scaffolded-templates-i\\\/#listItem\",\"name\":\"Modifying Grails Scaffolded templates &#8211; I\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/modifying-grails-scaffolded-templates-i\\\/#listItem\",\"position\":3,\"name\":\"Modifying Grails Scaffolded templates &#8211; I\",\"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\\\/himanshu\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/himanshu\\\/\",\"name\":\"Himanshu Seth\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/modifying-grails-scaffolded-templates-i\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62e787d1a52267475ecb3fb2b7bea0715c3f4409cf080f75b5ee57e3bfa770a8?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Himanshu Seth\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/modifying-grails-scaffolded-templates-i\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/modifying-grails-scaffolded-templates-i\\\/\",\"name\":\"Modifying Grails Scaffolded templates \\u2013 I | TO THE NEW Blog\",\"description\":\"In one of the sessions in SpringOne2GX, there was a session on Uber-Scaffolding by Jean Barmarsh. The session was quite incredible and opened up a world of possibilities. We all know that the scaffolded code generated by grails is modifiable if we install the base templates. This is done simply by saying: [java]grails install-templates[\\\/java] The\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/modifying-grails-scaffolded-templates-i\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/himanshu\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/himanshu\\\/#author\"},\"datePublished\":\"2011-02-10T11:09:04+05:30\",\"dateModified\":\"2016-12-19T15:19:23+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":"Modifying Grails Scaffolded templates \u2013 I | TO THE NEW Blog","description":"In one of the sessions in SpringOne2GX, there was a session on Uber-Scaffolding by Jean Barmarsh. The session was quite incredible and opened up a world of possibilities. We all know that the scaffolded code generated by grails is modifiable if we install the base templates. This is done simply by saying: [java]grails install-templates[\/java] The","canonical_url":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/#article","name":"Modifying Grails Scaffolded templates \u2013 I | TO THE NEW Blog","headline":"Modifying Grails Scaffolded templates &#8211; I","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/himanshu\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2011\/02\/grailsTemplates.png","@id":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/#articleImage"},"datePublished":"2011-02-10T11:09:04+05:30","dateModified":"2016-12-19T15:19:23+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/#webpage"},"articleSection":"Grails, Grails, scaffolding"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/#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\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/tothenewco.pro\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/#listItem","name":"Modifying Grails Scaffolded templates &#8211; I"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/#listItem","position":3,"name":"Modifying Grails Scaffolded templates &#8211; I","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@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\/himanshu\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/himanshu\/","name":"Himanshu Seth","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/62e787d1a52267475ecb3fb2b7bea0715c3f4409cf080f75b5ee57e3bfa770a8?s=96&d=mm&r=g","width":96,"height":96,"caption":"Himanshu Seth"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/","name":"Modifying Grails Scaffolded templates \u2013 I | TO THE NEW Blog","description":"In one of the sessions in SpringOne2GX, there was a session on Uber-Scaffolding by Jean Barmarsh. The session was quite incredible and opened up a world of possibilities. We all know that the scaffolded code generated by grails is modifiable if we install the base templates. This is done simply by saying: [java]grails install-templates[\/java] The","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/himanshu\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/himanshu\/#author"},"datePublished":"2011-02-10T11:09:04+05:30","dateModified":"2016-12-19T15:19:23+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":"Modifying Grails Scaffolded templates \u2013 I | TO THE NEW Blog","og:description":"In one of the sessions in SpringOne2GX, there was a session on Uber-Scaffolding by Jean Barmarsh. The session was quite incredible and opened up a world of possibilities. We all know that the scaffolded code generated by grails is modifiable if we install the base templates. This is done simply by saying: [java]grails install-templates[\/java] The","og:url":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/","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":"Modifying Grails Scaffolded templates \u2013 I | TO THE NEW Blog","twitter:description":"In one of the sessions in SpringOne2GX, there was a session on Uber-Scaffolding by Jean Barmarsh. The session was quite incredible and opened up a world of possibilities. We all know that the scaffolded code generated by grails is modifiable if we install the base templates. This is done simply by saying: [java]grails install-templates[\/java] The","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"2739","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:07:18","updated":"2024-02-29 09:03:13","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\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tModifying Grails Scaffolded templates \u2013 I\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"Grails","link":"https:\/\/tothenewco.pro\/blog\/category\/grails\/"},{"label":"Modifying Grails Scaffolded templates &#8211; I","link":"https:\/\/tothenewco.pro\/blog\/modifying-grails-scaffolded-templates-i\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/2739","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=2739"}],"version-history":[{"count":0,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/2739\/revisions"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=2739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=2739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=2739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}