{"id":671,"date":"2017-07-26T06:39:53","date_gmt":"2017-07-26T06:39:53","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2017\/07\/26\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/"},"modified":"2021-02-27T09:49:35","modified_gmt":"2021-02-27T09:49:35","slug":"what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/","title":{"rendered":"What is the significance of the default directory under chef cookbook \/templates?"},"content":{"rendered":"<div><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2878 aligncenter\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-cookbook-templates.png\" alt=\"\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-cookbook-templates.png 600w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-cookbook-templates-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/div>\n<p>&nbsp;<\/p>\n<div>What is the significance of the default directory under chef cookbook \/templates?<\/div>\n<div><\/div>\n<div>A cookbook is frequently designed to work across many platforms and is often required to distribute a specific template to a specific platform. This is a New in Chef Client 12.0. A cookbook can be designed to support the distribution of templates across platforms, while ensuring that the correct template ends up on each system.<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>The pattern for template specificity depends on two things: the lookup path and the source. The first pattern that matches is used:<\/strong><\/div>\n<div><\/div>\n<div>\/host-$fqdn\/$source<\/div>\n<div>\/$platform-$platform_version\/$source<\/div>\n<div>\/$platform\/$source<\/div>\n<div>\/default\/$source<\/div>\n<div>\/$source<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>Use an array with the source property to define an explicit lookup path. For example:<\/strong><\/div>\n<div>template &#8216;\/test&#8217; do<\/div>\n<div>\u00a0 source [&#8220;#{node.chef_environment}.erb&#8221;, &#8216;default.erb&#8217;]<\/div>\n<div>end<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>The following example emulates the entire file specificity pattern by defining it as an explicit path:<\/strong><\/div>\n<div>template &#8216;\/test&#8217; do<\/div>\n<div>\u00a0 source %W{<\/div>\n<div>\u00a0 \u00a0 host-#{node[&#8216;fqdn&#8217;]}\/test.erb<\/div>\n<div>\u00a0 \u00a0 #{node[&#8216;platform&#8217;]}-#{node[&#8216;platform_version&#8217;]}\/test.erb<\/div>\n<div>\u00a0 \u00a0 #{node[&#8216;platform&#8217;]}\/test.erb<\/div>\n<div>\u00a0 \u00a0 default\/test.erb<\/div>\n<div>\u00a0 }<\/div>\n<div>end<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>A cookbook may have a \/templates directory structure like this:<\/strong><\/div>\n<div>\/templates\/<\/div>\n<div>\u00a0 windows-6.2<\/div>\n<div>\u00a0 windows-6.1<\/div>\n<div>\u00a0 windows-6.0<\/div>\n<div>\u00a0 windows<\/div>\n<div>\u00a0 default<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>and a resource that looks something like the following:<\/strong><\/div>\n<div>template &#8216;C:\\path\\to\\file\\text_file.txt&#8217; do<\/div>\n<div>\u00a0 source &#8216;text_file.txt&#8217;<\/div>\n<div>\u00a0 mode &#8216;0755&#8217;<\/div>\n<div>\u00a0 owner &#8216;root&#8217;<\/div>\n<div>\u00a0 group &#8216;root&#8217;<\/div>\n<div>end<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>This resource would be matched in the same order as the \/templates directory structure. For a node named host-node-desktop that is running Windows 7, the second item would be the matching item and the location:<\/strong><\/div>\n<div>\/templates<\/div>\n<div>\u00a0 windows-6.2\/text_file.txt<\/div>\n<div>\u00a0 windows-6.1\/text_file.txt<\/div>\n<div>\u00a0 windows-6.0\/text_file.txt<\/div>\n<div>\u00a0 windows\/text_file.txt<\/div>\n<div>\n<p>\u00a0 default\/text_file.txt<\/p>\n<p><strong>Reference<\/strong><br \/>\n<a href=\"https:\/\/docs.chef.io\/resource_template.html\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.chef.io\/resource_template.html<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; What is the significance of the default directory under chef cookbook \/templates? A cookbook is frequently designed to work [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2878,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[88],"tags":[407,636,642,604,643,602,644],"class_list":["post-671","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chef","tag-chef","tag-chef-client","tag-chef-cookbook","tag-chef-guide","tag-chef-templates","tag-chef-tutorials","tag-default-directory"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is the significance of the default directory under chef cookbook \/templates? - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is the significance of the default directory under chef cookbook \/templates? - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"&nbsp; What is the significance of the default directory under chef cookbook \/templates? A cookbook is frequently designed to work [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-26T06:39:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:49:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-cookbook-templates.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"What is the significance of the default directory under chef cookbook \\\/templates?\",\"datePublished\":\"2017-07-26T06:39:53+00:00\",\"dateModified\":\"2021-02-27T09:49:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/\"},\"wordCount\":294,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/chef-cookbook-templates.png\",\"keywords\":[\"Chef\",\"Chef Client\",\"Chef cookbook\",\"Chef Guide\",\"Chef templates\",\"Chef Tutorials\",\"Default directory\"],\"articleSection\":[\"Chef\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/\",\"name\":\"What is the significance of the default directory under chef cookbook \\\/templates? - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/chef-cookbook-templates.png\",\"datePublished\":\"2017-07-26T06:39:53+00:00\",\"dateModified\":\"2021-02-27T09:49:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/chef-cookbook-templates.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/chef-cookbook-templates.png\",\"width\":600,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is the significance of the default directory under chef cookbook \\\/templates?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is the significance of the default directory under chef cookbook \/templates? - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/","og_locale":"en_US","og_type":"article","og_title":"What is the significance of the default directory under chef cookbook \/templates? - scmGalaxy","og_description":"&nbsp; What is the significance of the default directory under chef cookbook \/templates? A cookbook is frequently designed to work [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/","og_site_name":"scmGalaxy","article_published_time":"2017-07-26T06:39:53+00:00","article_modified_time":"2021-02-27T09:49:35+00:00","og_image":[{"width":600,"height":400,"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-cookbook-templates.png","type":"image\/png"}],"author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"What is the significance of the default directory under chef cookbook \/templates?","datePublished":"2017-07-26T06:39:53+00:00","dateModified":"2021-02-27T09:49:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/"},"wordCount":294,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-cookbook-templates.png","keywords":["Chef","Chef Client","Chef cookbook","Chef Guide","Chef templates","Chef Tutorials","Default directory"],"articleSection":["Chef"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/","name":"What is the significance of the default directory under chef cookbook \/templates? - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-cookbook-templates.png","datePublished":"2017-07-26T06:39:53+00:00","dateModified":"2021-02-27T09:49:35+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-cookbook-templates.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-cookbook-templates.png","width":600,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-the-significance-of-the-default-directory-under-chef-cookbook-templates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"What is the significance of the default directory under chef cookbook \/templates?"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=671"}],"version-history":[{"count":5,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/671\/revisions"}],"predecessor-version":[{"id":2883,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/671\/revisions\/2883"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media\/2878"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}