{"id":24781,"date":"2015-08-01T08:35:49","date_gmt":"2015-08-01T03:05:49","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=24781"},"modified":"2015-08-03T11:12:43","modified_gmt":"2015-08-03T05:42:43","slug":"delete-file-from-amazon-s3-using-javascript-sdk","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/","title":{"rendered":"Delete file from Amazon s3 using Javascript sdk"},"content":{"rendered":"<p>Now a days <a title=\"AWS CodeDeploy Using S3\" href=\"https:\/\/2thenew.online\/blog\/aws-code-deploy-using-s3\/\">AWS S3 is commonly used<\/a> as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from S3.<\/p>\n<p>1. Javascript sdk integration:<\/p>\n<p>[java]<br \/>\n&lt;script src=&quot;https:\/\/sdk.amazonaws.com\/js\/aws-sdk-2.1.24.min.js&quot;&gt;&lt;\/script&gt;<br \/>\n      &lt;script type=&quot;text\/javascript&quot;&gt;<br \/>\n        AWS.config.update({<br \/>\n            accessKeyId : &#8216;YOUR_ACCESS_KEY&#8217;,<br \/>\n            secretAccessKey : &#8216;YOUR_SECRET_KEY&#8217;<br \/>\n        });<br \/>\n        AWS.config.region = &#8216;REGION&#8217;; \/\/ ex: ap-southeast-1<br \/>\n    &lt;\/script&gt;<br \/>\n[\/java]<\/p>\n<p>More on integration : <a title=\"s3 bucket javascript integration\" href=\"http:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-chap-getting-started.html\"> s3 bucket javascript integration <\/a><\/p>\n<p>2. Javascript method to delete file.<\/p>\n<p>[java]<br \/>\nfunction deleteFile() {<br \/>\n    var bucketInstance = new AWS.S3();<br \/>\n    var params = {<br \/>\n        Bucket: &#8216;BUCKET_NAME&#8217;,<br \/>\n        Key: &#8216;FILENAME&#8217;<br \/>\n    };<br \/>\n    bucketInstance.deleteObject(params, function (err, data) {<br \/>\n        if (data) {<br \/>\n            console.log(&quot;File deleted successfully&quot;);<br \/>\n        }<br \/>\n        else {<br \/>\n            console.log(&quot;Check if you have sufficient permissions : &quot;+err);<br \/>\n        }<br \/>\n    });<br \/>\n}<br \/>\n[\/java]<\/p>\n<p>You can read the full documentation here : <a title=\"s3 Javascript documentation\" href=\"http:\/\/docs.aws.amazon.com\/AWSJavaScriptSDK\/latest\/AWS\/S3.html#getObject-property\"> s3 Javascript methods documentation <\/a><\/p>\n<p>In AWS terminology a file is called as an Object. We just need to call the deleteObject method which takes bucketName and fileName as parameters.<\/p>\n<p>This method will delete the file from s3 and check the response to make sure the file is deleted or not.<\/p>\n<p>To use this library please make sure that you have enabled cros configuration. Also it is not advisable to display your keys directly on page, so you can use Amazon Cognito or web identity federation feature. To know more use the below given link : <a href=\"http:\/\/docs.aws.amazon.com\/AWSJavaScriptSDK\/guide\/browser-configuring.html\">http:\/\/docs.aws.amazon.com\/AWSJavaScriptSDK\/guide\/browser-configuring.html<\/a><\/p>\n<p>Hope this will help you \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from [&hellip;]<\/p>\n","protected":false},"author":203,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":25,"footnotes":""},"categories":[1174,7,1],"tags":[1332,4840,2089,2090],"class_list":["post-24781","post","type-post","status-publish","format-standard","hentry","category-aws-2","category-grails","category-technology","tag-aws-s3","tag-grails","tag-s3-file-delete","tag-s3-javascript-sdk"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Sanchit\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/\" \/>\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=\"Delete file from Amazon s3 using Javascript sdk | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/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=\"Delete file from Amazon s3 using Javascript sdk | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/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\\\/delete-file-from-amazon-s3-using-javascript-sdk\\\/#article\",\"name\":\"Delete file from Amazon s3 using Javascript sdk | TO THE NEW Blog\",\"headline\":\"Delete file from Amazon s3 using Javascript sdk\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sanchit\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2015-08-01T08:35:49+05:30\",\"dateModified\":\"2015-08-03T11:12:43+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/delete-file-from-amazon-s3-using-javascript-sdk\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/delete-file-from-amazon-s3-using-javascript-sdk\\\/#webpage\"},\"articleSection\":\"AWS, Grails, Technology, aws s3, Grails, s3 file delete, s3 javascript sdk\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/delete-file-from-amazon-s3-using-javascript-sdk\\\/#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\\\/delete-file-from-amazon-s3-using-javascript-sdk\\\/#listItem\",\"name\":\"Delete file from Amazon s3 using Javascript sdk\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/delete-file-from-amazon-s3-using-javascript-sdk\\\/#listItem\",\"position\":3,\"name\":\"Delete file from Amazon s3 using Javascript sdk\",\"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\\\/sanchit\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sanchit\\\/\",\"name\":\"Sanchit\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/delete-file-from-amazon-s3-using-javascript-sdk\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/ef47782c-6d11-4d8c-b6a1-2c3d99c37fc9_4539-Sanchit-.-PROFILEPICTURE.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Sanchit\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/delete-file-from-amazon-s3-using-javascript-sdk\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/delete-file-from-amazon-s3-using-javascript-sdk\\\/\",\"name\":\"Delete file from Amazon s3 using Javascript sdk | TO THE NEW Blog\",\"description\":\"Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/delete-file-from-amazon-s3-using-javascript-sdk\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sanchit\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sanchit\\\/#author\"},\"datePublished\":\"2015-08-01T08:35:49+05:30\",\"dateModified\":\"2015-08-03T11:12:43+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":"Delete file from Amazon s3 using Javascript sdk | TO THE NEW Blog","description":"Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from","canonical_url":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/#article","name":"Delete file from Amazon s3 using Javascript sdk | TO THE NEW Blog","headline":"Delete file from Amazon s3 using Javascript sdk","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/sanchit\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"datePublished":"2015-08-01T08:35:49+05:30","dateModified":"2015-08-03T11:12:43+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/#webpage"},"articleSection":"AWS, Grails, Technology, aws s3, Grails, s3 file delete, s3 javascript sdk"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/2thenew.online\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/#listItem","name":"Delete file from Amazon s3 using Javascript sdk"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/#listItem","position":3,"name":"Delete file from Amazon s3 using Javascript sdk","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/sanchit\/#author","url":"https:\/\/2thenew.online\/blog\/author\/sanchit\/","name":"Sanchit","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/ef47782c-6d11-4d8c-b6a1-2c3d99c37fc9_4539-Sanchit-.-PROFILEPICTURE.jpeg","width":96,"height":96,"caption":"Sanchit"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/#webpage","url":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/","name":"Delete file from Amazon s3 using Javascript sdk | TO THE NEW Blog","description":"Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/sanchit\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/sanchit\/#author"},"datePublished":"2015-08-01T08:35:49+05:30","dateModified":"2015-08-03T11:12:43+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Delete file from Amazon s3 using Javascript sdk | TO THE NEW Blog","og:description":"Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from","og:url":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Delete file from Amazon s3 using Javascript sdk | TO THE NEW Blog","twitter:description":"Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"24781","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-29 11:56:53","updated":"2024-02-29 08:16: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:\/\/2thenew.online\/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.online\/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\tDelete file from Amazon s3 using Javascript sdk\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Technology","link":"https:\/\/2thenew.online\/blog\/category\/technology\/"},{"label":"Delete file from Amazon s3 using Javascript sdk","link":"https:\/\/2thenew.online\/blog\/delete-file-from-amazon-s3-using-javascript-sdk\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/24781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/203"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=24781"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/24781\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=24781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=24781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=24781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}