{"id":147,"date":"2016-08-23T12:50:05","date_gmt":"2016-08-23T10:50:05","guid":{"rendered":"https:\/\/www.modelical.com\/en\/en\/?p=147"},"modified":"2022-03-17T11:44:12","modified_gmt":"2022-03-17T10:44:12","slug":"restore-a-dropbox-folder-to-a-specific-date","status":"publish","type":"post","link":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/","title":{"rendered":"Dropbox &#8211; Restore a folder to a specific date"},"content":{"rendered":"<p>Some times, because of errors, bad luck or virus attacks you might need to have one specific folder in your dropbox rolled-back to a previous date. <a href=\"https:\/\/github.com\/clark800\/dropbox-restore\" target=\"_blank\" rel=\"noopener\">This Python Script<\/a>, prepared by clark800 -Kudos Clark!- is a magical solution that will save you time and sweat.<\/p>\n<p>Recently, I&#8217;ve been forced to use it, with some minor tweaks, so I thought it would be a good idea to share it here, just in the form it worked for me in Python 3.5.2.<\/p>\n<p><strong>Instructions:<\/strong><\/p>\n<ol>\n<li>Install Python 3.5.2 from <a href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\" rel=\"noopener\">the official Python downloads page.<\/a><\/li>\n<li>Make sure to add your Python.exe location to your PATH system variable, assuming you&#8217;re in Windows.<\/li>\n<li>Open a command prompt (Windows+R > cmd) and enter the following to install the Dropbox python package >>\n<pre class=\"lang:python decode:true \" >pip install dropbox<\/pre>\n<\/li>\n<li>Create a new Dropbox App to allow changes in your account<a href=\"https:\/\/www.dropbox.com\/developers\/apps\/create\" target=\"_blank\" rel=\"noopener\"> from the developers section<\/a>. Keep the keys as you&#8217;ll need them for the script.<\/li>\n<li>Save the script as restore.py y update it with your keys.<\/li>\n<li>Run the script from a command prompt >>\n<pre class=\"lang:python decode:true \" >python restore.py \/path\/inside\/your\/dropbox YYYY-MM-DD<\/pre>\n<\/li>\n<li>Your path must start with &#8220;\/&#8221;, where&#8221;\/&#8221; is the root of your Dropbox. See below.<\/li>\n<li>First time you run the script you will have to authorise it by calling the url provided.<\/li>\n<\/ol>\n<p>I suggest you test it with a dummy folder before breaking any important stuff.\n<\/p>\n<pre class=\"lang:python decode:true \" >#!\/usr\/bin\/env python\r\nimport sys, os, dropbox, time\r\nfrom datetime import datetime\r\n\r\nAPP_KEY = ''   # INSERT APP_KEY HERE\r\nAPP_SECRET = ''     # INSERT APP_SECRET HERE\r\nDELAY = 0.2 # delay between each file (try to stay under API rate limits)\r\n\r\nHELP_MESSAGE = \r\n\"\"\"Note: You must specify the path starting with \"\/\", where \"\/\" is the root\r\nof your dropbox folder. So if your dropbox directory is at \"\/home\/user\/dropbox\"\r\nand you want to restore \"\/home\/user\/dropbox\/folder\", the ROOTPATH is \"\/folder\".\r\n\"\"\"\r\n\r\nHISTORY_WARNING = \r\n\"\"\"Dropbox only keeps historical file versions for 30 days (unless you have\r\nenabled extended version history). Please specify a cutoff date within the past\r\n30 days, or if you have extended version history, you may remove this check\r\nfrom the source code.\"\"\"\r\n\r\ndef authorize():\r\n    flow = dropbox.client.DropboxOAuth2FlowNoRedirect(APP_KEY, APP_SECRET)\r\n    authorize_url = flow.start()\r\n    print('1. Go to: ' + authorize_url)\r\n    print('2. Click \"Allow\" (you might have to log in first)')\r\n    print('3. Copy the authorization code.')\r\n    #try:\r\n        #input = input\r\n    #except NameError:\r\n        #pass\r\n    code = input(\"Enter the authorization code here: \").strip()\r\n    access_token, user_id = flow.finish(code)\r\n    return access_token\r\n\r\n\r\ndef login(token_save_path):\r\n    if os.path.exists(token_save_path):\r\n        with open(token_save_path) as token_file:\r\n            access_token = token_file.read()\r\n    else:\r\n        access_token = authorize()\r\n        with open(token_save_path, 'w') as token_file:\r\n            token_file.write(access_token)\r\n    return dropbox.client.DropboxClient(access_token)\r\n\r\n\r\ndef parse_date(s):\r\n    a = s.split('+')[0].strip()\r\n    return datetime.strptime(a, '%a, %d %b %Y %H:%M:%S')\r\n\r\n\r\ndef restore_file(client, path, cutoff_datetime, is_deleted, verbose=False):\r\n    revisions = client.revisions(path)\r\n    revision_dict = dict((parse_date(r['modified']), r) for r in revisions)\r\n\r\n    # skip if current revision is the same as it was at the cutoff\r\n    if max(revision_dict.keys()) &amp;lt; cutoff_datetime:\r\n        if verbose:\r\n            print(path + ' SKIP')\r\n        return\r\n\r\n    # look for the most recent revision before the cutoff\r\n    pre_cutoff_modtimes = [d for d in revision_dict.keys()\r\n                           if d &amp;lt; cutoff_datetime]\r\n    if len(pre_cutoff_modtimes) &amp;gt; 0:\r\n        modtime = max(pre_cutoff_modtimes)\r\n        rev = revision_dict[modtime]['rev']\r\n        if verbose:\r\n            print(path + ' ' + str(modtime))\r\n        client.restore(path, rev)\r\n    else:   # there were no revisions before the cutoff, so delete\r\n        if verbose:\r\n            print(path + ' ' + ('SKIP' if is_deleted else 'DELETE'))\r\n        if not is_deleted:\r\n            client.file_delete(path)\r\n\r\n\r\ndef restore_folder(client, path, cutoff_datetime, verbose=False):\r\n    if verbose:\r\n        print(path)\r\n        #print('Restoring folder: ' + path.encode('utf-8'))\r\n    try:\r\n        folder = client.metadata(path, list=True,\r\n                                 include_deleted=True)\r\n    except dropbox.rest.ErrorResponse as e:\r\n        print(str(e))\r\n        print(HELP_MESSAGE)\r\n        return\r\n    for item in folder.get('contents', []):\r\n        if item.get('is_dir', False):\r\n            restore_folder(client, item['path'], cutoff_datetime, verbose)\r\n        else:\r\n            restore_file(client, item['path'], cutoff_datetime,\r\n                         item.get('is_deleted', False), verbose)\r\n        time.sleep(DELAY)\r\n\r\n\r\ndef main():\r\n    if len(sys.argv) != 3:\r\n        usage = 'usage: {0} ROOTPATH YYYY-MM-DDn{1}'\r\n        sys.exit(usage.format(sys.argv[0], HELP_MESSAGE))\r\n    root_path_encoded, cutoff = sys.argv[1:]\r\n    #root_path = root_path_encoded.decode('utf-8')\r\n    root_path = root_path_encoded\r\n    cutoff_datetime = datetime(*map(int, cutoff.split('-')))\r\n    if (datetime.utcnow() - cutoff_datetime).days &amp;gt;= 30:\r\n        sys.exit(HISTORY_WARNING)\r\n    if cutoff_datetime &amp;gt; datetime.utcnow():\r\n        sys.exit('Cutoff date must be in the past')\r\n    client = login('token.dat')\r\n    restore_folder(client, root_path, cutoff_datetime, verbose=True)\r\n\r\n\r\nif __name__ == '__main__':\r\n    main()\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Some times, because of errors, bad luck or virus attacks you might need to have one specific folder in your dropbox rolled-back to a previous date. This Python Script, prepared by clark800 -Kudos Clark!- is a magical solution that will save you time and sweat. Recently, I&#8217;ve been forced to use it, with some minor [&hellip;]<\/p>\n","protected":false},"author":64,"featured_media":27092,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[422],"class_list":["post-147","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guidelines","tag-technology-python"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Dropbox - Restore a folder to a specific date - Modelical<\/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.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dropbox - Restore a folder to a specific date - Modelical\" \/>\n<meta property=\"og:description\" content=\"Some times, because of errors, bad luck or virus attacks you might need to have one specific folder in your dropbox rolled-back to a previous date. This Python Script, prepared by clark800 -Kudos Clark!- is a magical solution that will save you time and sweat. Recently, I&#8217;ve been forced to use it, with some minor [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/\" \/>\n<meta property=\"og:site_name\" content=\"Modelical\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Modelical\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-23T10:50:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-17T10:44:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.modelical.com\/wp-content\/uploads\/Posts_27_Dropbox.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"375\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Roberto Molinos\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@modelical\" \/>\n<meta name=\"twitter:site\" content=\"@modelical\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Roberto Molinos\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/\"},\"author\":{\"name\":\"Roberto Molinos\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/#\\\/schema\\\/person\\\/3ad52fd99e6b5b98a59ef24c76a7c2d5\"},\"headline\":\"Dropbox &#8211; Restore a folder to a specific date\",\"datePublished\":\"2016-08-23T10:50:05+00:00\",\"dateModified\":\"2022-03-17T10:44:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/\"},\"wordCount\":224,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.modelical.com\\\/wp-content\\\/uploads\\\/2016\\\/08\\\/Dropbox-400x250-1.jpg\",\"keywords\":[\"Tec Python\"],\"articleSection\":[\"Guidelines\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/\",\"url\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/\",\"name\":\"Dropbox - Restore a folder to a specific date - Modelical\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.modelical.com\\\/wp-content\\\/uploads\\\/2016\\\/08\\\/Dropbox-400x250-1.jpg\",\"datePublished\":\"2016-08-23T10:50:05+00:00\",\"dateModified\":\"2022-03-17T10:44:12+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/#\\\/schema\\\/person\\\/3ad52fd99e6b5b98a59ef24c76a7c2d5\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/restore-a-dropbox-folder-to-a-specific-date\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.modelical.com\\\/wp-content\\\/uploads\\\/2016\\\/08\\\/Dropbox-400x250-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.modelical.com\\\/wp-content\\\/uploads\\\/2016\\\/08\\\/Dropbox-400x250-1.jpg\",\"width\":400,\"height\":250},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/\",\"name\":\"Modelical\",\"description\":\"We build information\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/#\\\/schema\\\/person\\\/3ad52fd99e6b5b98a59ef24c76a7c2d5\",\"name\":\"Roberto Molinos\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9346c12c96cb942be9bb8b2454e296662a1baa0b4cd461ab315ae9a5185b0db6?s=96&d=initials&r=g&initials=ro\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9346c12c96cb942be9bb8b2454e296662a1baa0b4cd461ab315ae9a5185b0db6?s=96&d=initials&r=g&initials=ro\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9346c12c96cb942be9bb8b2454e296662a1baa0b4cd461ab315ae9a5185b0db6?s=96&d=initials&r=g&initials=ro\",\"caption\":\"Roberto Molinos\"},\"sameAs\":[\"https:\\\/\\\/www.modelical.com\"],\"url\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/author\\\/roberto\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dropbox - Restore a folder to a specific date - Modelical","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.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/","og_locale":"en_US","og_type":"article","og_title":"Dropbox - Restore a folder to a specific date - Modelical","og_description":"Some times, because of errors, bad luck or virus attacks you might need to have one specific folder in your dropbox rolled-back to a previous date. This Python Script, prepared by clark800 -Kudos Clark!- is a magical solution that will save you time and sweat. Recently, I&#8217;ve been forced to use it, with some minor [&hellip;]","og_url":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/","og_site_name":"Modelical","article_publisher":"https:\/\/www.facebook.com\/Modelical\/","article_published_time":"2016-08-23T10:50:05+00:00","article_modified_time":"2022-03-17T10:44:12+00:00","og_image":[{"width":600,"height":375,"url":"https:\/\/www.modelical.com\/wp-content\/uploads\/Posts_27_Dropbox.jpg","type":"image\/jpeg"}],"author":"Roberto Molinos","twitter_card":"summary_large_image","twitter_creator":"@modelical","twitter_site":"@modelical","twitter_misc":{"Written by":"Roberto Molinos","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/#article","isPartOf":{"@id":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/"},"author":{"name":"Roberto Molinos","@id":"https:\/\/www.modelical.com\/en\/#\/schema\/person\/3ad52fd99e6b5b98a59ef24c76a7c2d5"},"headline":"Dropbox &#8211; Restore a folder to a specific date","datePublished":"2016-08-23T10:50:05+00:00","dateModified":"2022-03-17T10:44:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/"},"wordCount":224,"commentCount":0,"image":{"@id":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/#primaryimage"},"thumbnailUrl":"https:\/\/www.modelical.com\/wp-content\/uploads\/2016\/08\/Dropbox-400x250-1.jpg","keywords":["Tec Python"],"articleSection":["Guidelines"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/","url":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/","name":"Dropbox - Restore a folder to a specific date - Modelical","isPartOf":{"@id":"https:\/\/www.modelical.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/#primaryimage"},"image":{"@id":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/#primaryimage"},"thumbnailUrl":"https:\/\/www.modelical.com\/wp-content\/uploads\/2016\/08\/Dropbox-400x250-1.jpg","datePublished":"2016-08-23T10:50:05+00:00","dateModified":"2022-03-17T10:44:12+00:00","author":{"@id":"https:\/\/www.modelical.com\/en\/#\/schema\/person\/3ad52fd99e6b5b98a59ef24c76a7c2d5"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.modelical.com\/en\/restore-a-dropbox-folder-to-a-specific-date\/#primaryimage","url":"https:\/\/www.modelical.com\/wp-content\/uploads\/2016\/08\/Dropbox-400x250-1.jpg","contentUrl":"https:\/\/www.modelical.com\/wp-content\/uploads\/2016\/08\/Dropbox-400x250-1.jpg","width":400,"height":250},{"@type":"WebSite","@id":"https:\/\/www.modelical.com\/en\/#website","url":"https:\/\/www.modelical.com\/en\/","name":"Modelical","description":"We build information","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.modelical.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.modelical.com\/en\/#\/schema\/person\/3ad52fd99e6b5b98a59ef24c76a7c2d5","name":"Roberto Molinos","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9346c12c96cb942be9bb8b2454e296662a1baa0b4cd461ab315ae9a5185b0db6?s=96&d=initials&r=g&initials=ro","url":"https:\/\/secure.gravatar.com\/avatar\/9346c12c96cb942be9bb8b2454e296662a1baa0b4cd461ab315ae9a5185b0db6?s=96&d=initials&r=g&initials=ro","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9346c12c96cb942be9bb8b2454e296662a1baa0b4cd461ab315ae9a5185b0db6?s=96&d=initials&r=g&initials=ro","caption":"Roberto Molinos"},"sameAs":["https:\/\/www.modelical.com"],"url":"https:\/\/www.modelical.com\/en\/author\/roberto\/"}]}},"_links":{"self":[{"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/users\/64"}],"replies":[{"embeddable":true,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":0,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/media\/27092"}],"wp:attachment":[{"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}