{"id":497,"date":"2026-11-04T17:32:18","date_gmt":"2026-11-04T09:32:18","guid":{"rendered":"https:\/\/blog.jianguoyun.com\/en\/?p=497"},"modified":"2026-11-04T17:32:18","modified_gmt":"2026-11-04T09:32:18","slug":"nutstore-webdav-python-how-to-automate-file-workflows","status":"publish","type":"post","link":"https:\/\/blog.jianguoyun.com\/en\/?p=497","title":{"rendered":"Nutstore WebDAV &#038; Python: How to Automate File Workflows"},"content":{"rendered":"<p>Yes \u2014 you can automate file workflows with Python by pointing a general-purpose WebDAV client library at Nutstore&rsquo;s WebDAV server address, <code>dav.jianguoyun.com\/dav\/<\/code>, and authenticating with the WebDAV credentials your account provides. There is no dedicated Nutstore Python SDK, so the library \u2014 not a first-party Nutstore tool \u2014 does the WebDAV work. This guide walks you through a working WebDAV Python script for uploading and downloading research files, then shows how the same connection serves Zotero, Joplin, and WPS. Two boundaries matter up front: <strong>paid users are limited to 1,500 WebDAV requests per 30 minutes<\/strong>, and <strong>only saved and uploaded files are available through cloud sync<\/strong>. This is file automation, not code version control.<\/p>\n<hr>\n<h2 id=\"prerequisites-what-you-need-before-you-start\">Prerequisites: What You Need Before You Start<\/h2>\n<p>The two most common reasons a WebDAV Python script fails on the first run are a wrong endpoint and the wrong credential type. Fix both before writing a single line of code.<\/p>\n<p><strong>Checklist:<\/strong><\/p>\n<table>\n<thead>\n<tr>\n<th>Requirement<\/th>\n<th>Detail<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Nutstore account<\/td>\n<td>Confirm WebDAV access in your own account settings or Nutstore&rsquo;s current documentation<\/td>\n<\/tr>\n<tr>\n<td>WebDAV credentials<\/td>\n<td>The credential type your account issues for WebDAV access<\/td>\n<\/tr>\n<tr>\n<td>Server address<\/td>\n<td><code>dav.jianguoyun.com\/dav\/<\/code><\/td>\n<\/tr>\n<tr>\n<td>Python<\/td>\n<td>Python 3 installed, with the ability to run <code>pip install<\/code><\/td>\n<\/tr>\n<tr>\n<td>WebDAV client library<\/td>\n<td>This tutorial uses <code>webdavclient3<\/code> (<code>webdav3.client<\/code>)<\/td>\n<\/tr>\n<tr>\n<td>Optional (Step 9)<\/td>\n<td>Zotero, Joplin, or WPS installed<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Confirm your Nutstore account.<\/strong> Go to the Nutstore website, create an account, and download the client for your platform. Then verify WebDAV access and your request allowance directly in your account or in Nutstore&rsquo;s current documentation \u2014 availability details can change, so your own account is the authoritative source. Separately, note the published limit: <strong>paid users are capped at a maximum of 1,500 WebDAV requests per 30 minutes.<\/strong> Keep that limit in mind as a scripting constraint, not as a statement about who can use WebDAV.<\/p>\n<p><strong>Understand your WebDAV credentials.<\/strong> WebDAV clients authenticate with credentials issued for WebDAV access. Confirm the exact credential type your account provides \u2014 and whether app-specific or separate passwords are available \u2014 in your account settings or Nutstore&rsquo;s current documentation. Credential management flows vary, so check rather than assume.<\/p>\n<p><strong>Use this server address:<\/strong> <code>dav.jianguoyun.com\/dav\/<\/code><\/p>\n<p><strong>Pick a library.<\/strong> This tutorial uses <code>webdavclient3<\/code> as the single worked example, and every method below is written against it. Other WebDAV libraries exist \u2014 <code>easywebdav<\/code>, or <code>requests<\/code> with raw WebDAV verbs \u2014 but method names and returned values differ by library and version, so you will need to adapt those calls. Be clear on one point: <strong>Nutstore does not provide a dedicated Python SDK.<\/strong> You are pointing a general-purpose WebDAV client at Nutstore&rsquo;s endpoint.<\/p>\n<p><strong>Scope check.<\/strong> This setup automates <em>file handling<\/em> \u2014 documents, research files, and app data. It is <strong>not<\/strong> a code version control tool, and Nutstore is not recommended for code sync. If you arrived looking for a Git replacement, this is not it.<\/p>\n<hr>\n<h2 id=\"step-by-step-automate-file-workflows-with-a-webdav-python-script\">Step-by-Step: Automate File Workflows with a WebDAV Python Script<\/h2>\n<p>Each step below is written to stand on its own. Every code block that uses a <code>client<\/code> object repeats the imports, environment-variable reads, and <code>Client<\/code> configuration it depends on, so you can copy any single step into a fresh file and run it. One exception: the <code>sync_folder<\/code> script in Step 7 calls the <code>upload_with_retry<\/code> helper defined in Step 8, so paste both together if you want that step to run as shown.<\/p>\n<h3 id=\"step-1-confirm-your-nutstore-account-and-webdav-access\">Step 1 \u2014 Confirm your Nutstore account and WebDAV access<\/h3>\n<p>Before scripting, open your Nutstore account and confirm that WebDAV access is available and what credential type it provides. Check the same details in Nutstore&rsquo;s current documentation if anything is unclear. Note separately that the published request ceiling for paid users is <strong>1,500 WebDAV requests per 30 minutes<\/strong>. No code yet \u2014 this is a verification step only.<\/p>\n<h3 id=\"step-2-obtain-and-store-your-webdav-credentials\">Step 2 \u2014 Obtain and store your WebDAV credentials<\/h3>\n<p>Locate the WebDAV credentials your account provides and confirm the credential type in your account settings or current documentation. Then store them safely. <strong>Never hardcode credentials into a script<\/strong> \u2014 anyone who reads the file gets your account. Use environment variables or a local <code>.env<\/code> file instead.<\/p>\n<div class=\"highlight\" style=\"background: #f8f8f8\">\n<pre style=\"line-height: 125%;\"><span><\/span><code><span style=\"color: #008000; font-weight: bold\">import<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">os<\/span>\n\nWEBDAV_USER <span style=\"color: #666\">=<\/span> os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_USER&quot;<\/span>]\nWEBDAV_PASS <span style=\"color: #666\">=<\/span> os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_PASS&quot;<\/span>]\n<\/code><\/pre>\n<\/div>\n<p>Set those variables in your shell profile or a <code>.env<\/code> file that is excluded from any repository you keep.<\/p>\n<h3 id=\"step-3-install-a-python-webdav-client-library\">Step 3 \u2014 Install a Python WebDAV client library<\/h3>\n<div class=\"highlight\" style=\"background: #f8f8f8\">\n<pre style=\"line-height: 125%;\"><span><\/span><code>pip<span style=\"color: #BBB\"> <\/span>install<span style=\"color: #BBB\"> <\/span>webdavclient3\n<\/code><\/pre>\n<\/div>\n<p>This library wraps the WebDAV verbs \u2014 <code>PROPFIND<\/code>, <code>PUT<\/code>, <code>GET<\/code>, <code>MKCOL<\/code> \u2014 so you don&rsquo;t hand-roll WebDAV XML. It is a third-party library, not a Nutstore SDK. Every method name from here on is a <code>webdavclient3<\/code> name; if you use a different library, check its own documentation for equivalents.<\/p>\n<h3 id=\"step-4-connect-to-davjianguoyuncomdav-and-verify-with-a-listing-call\">Step 4 \u2014 Connect to dav.jianguoyun.com\/dav\/ and verify with a listing call<\/h3>\n<p>Configure the client with the Nutstore endpoint, your account username, and your WebDAV credentials, then make one minimal listing call. This block is complete on its own \u2014 imports and credential reads included.<\/p>\n<div class=\"highlight\" style=\"background: #f8f8f8\">\n<pre style=\"line-height: 125%;\"><span><\/span><code><span style=\"color: #008000; font-weight: bold\">import<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">os<\/span>\n<span style=\"color: #008000; font-weight: bold\">from<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">webdav3.client<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #008000; font-weight: bold\">import<\/span> Client\n\noptions <span style=\"color: #666\">=<\/span> {\n    <span style=\"color: #BA2121\">&quot;webdav_hostname&quot;<\/span>: <span style=\"color: #BA2121\">&quot;https:\/\/dav.jianguoyun.com\/dav\/&quot;<\/span>,\n    <span style=\"color: #BA2121\">&quot;webdav_login&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_USER&quot;<\/span>],\n    <span style=\"color: #BA2121\">&quot;webdav_password&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_PASS&quot;<\/span>],\n}\n\nclient <span style=\"color: #666\">=<\/span> Client(options)\n<span style=\"color: #008000\">print<\/span>(client<span style=\"color: #666\">.<\/span>list(<span style=\"color: #BA2121\">&quot;\/&quot;<\/span>))\n<\/code><\/pre>\n<\/div>\n<p>Run this first. A successful listing confirms the connection works and that read\/list access is available. It does <strong>not<\/strong>, on its own, confirm that uploads will succeed \u2014 listing and uploading are distinct operations and can fail for different reasons. Test an upload separately in Step 5. Note also that the base URL may require a trailing slash; if the call fails, check the endpoint string first.<\/p>\n<h3 id=\"step-5-upload-a-file-with-a-python-webdav-script\">Step 5 \u2014 Upload a file with a Python WebDAV script<\/h3>\n<p>Now put a local file into a target remote path. The remote path is relative to <code>\/dav\/<\/code>, so <code>\/papers\/<\/code> in your code means the <code>papers<\/code> folder inside your Nutstore account. This block is complete on its own.<\/p>\n<div class=\"highlight\" style=\"background: #f8f8f8\">\n<pre style=\"line-height: 125%;\"><span><\/span><code><span style=\"color: #008000; font-weight: bold\">import<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">os<\/span>\n<span style=\"color: #008000; font-weight: bold\">from<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">webdav3.client<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #008000; font-weight: bold\">import<\/span> Client\n\noptions <span style=\"color: #666\">=<\/span> {\n    <span style=\"color: #BA2121\">&quot;webdav_hostname&quot;<\/span>: <span style=\"color: #BA2121\">&quot;https:\/\/dav.jianguoyun.com\/dav\/&quot;<\/span>,\n    <span style=\"color: #BA2121\">&quot;webdav_login&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_USER&quot;<\/span>],\n    <span style=\"color: #BA2121\">&quot;webdav_password&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_PASS&quot;<\/span>],\n}\nclient <span style=\"color: #666\">=<\/span> Client(options)\n\nremote_dir <span style=\"color: #666\">=<\/span> <span style=\"color: #BA2121\">&quot;\/papers&quot;<\/span>\n<span style=\"color: #008000; font-weight: bold\">if<\/span> <span style=\"color: #A2F; font-weight: bold\">not<\/span> client<span style=\"color: #666\">.<\/span>check(remote_dir):\n    client<span style=\"color: #666\">.<\/span>mkdir(remote_dir)\n\nclient<span style=\"color: #666\">.<\/span>upload_sync(remote_path<span style=\"color: #666\">=<\/span><span style=\"color: #BA2121\">&quot;\/papers\/paper.pdf&quot;<\/span>, local_path<span style=\"color: #666\">=<\/span><span style=\"color: #BA2121\">&quot;.\/paper.pdf&quot;<\/span>)\n<\/code><\/pre>\n<\/div>\n<p>Creating the target directory first avoids a failed upload when the folder doesn&rsquo;t exist. What does &ldquo;success&rdquo; mean here? The file is now saved and uploaded \u2014 and that is the only state cloud sync can expose. <strong>Edits never saved or uploaded are not available through cloud sync<\/strong>, which is why you must save before you script.<\/p>\n<p>Do not assume success from the Step 4 listing. Verify the upload itself. This block is also complete on its own:<\/p>\n<div class=\"highlight\" style=\"background: #f8f8f8\">\n<pre style=\"line-height: 125%;\"><span><\/span><code><span style=\"color: #008000; font-weight: bold\">import<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">os<\/span>\n<span style=\"color: #008000; font-weight: bold\">from<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">webdav3.client<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #008000; font-weight: bold\">import<\/span> Client\n\noptions <span style=\"color: #666\">=<\/span> {\n    <span style=\"color: #BA2121\">&quot;webdav_hostname&quot;<\/span>: <span style=\"color: #BA2121\">&quot;https:\/\/dav.jianguoyun.com\/dav\/&quot;<\/span>,\n    <span style=\"color: #BA2121\">&quot;webdav_login&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_USER&quot;<\/span>],\n    <span style=\"color: #BA2121\">&quot;webdav_password&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_PASS&quot;<\/span>],\n}\nclient <span style=\"color: #666\">=<\/span> Client(options)\n\n<span style=\"color: #008000\">print<\/span>(client<span style=\"color: #666\">.<\/span>list(<span style=\"color: #BA2121\">&quot;\/papers&quot;<\/span>))\n<\/code><\/pre>\n<\/div>\n<p>If the filename appears, the upload landed.<\/p>\n<h3 id=\"step-6-download-and-check-remote-files\">Step 6 \u2014 Download and check remote files<\/h3>\n<p>Downloading mirrors Step 5 in the other direction. This block is complete on its own.<\/p>\n<div class=\"highlight\" style=\"background: #f8f8f8\">\n<pre style=\"line-height: 125%;\"><span><\/span><code><span style=\"color: #008000; font-weight: bold\">import<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">os<\/span>\n<span style=\"color: #008000; font-weight: bold\">from<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">webdav3.client<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #008000; font-weight: bold\">import<\/span> Client\n\noptions <span style=\"color: #666\">=<\/span> {\n    <span style=\"color: #BA2121\">&quot;webdav_hostname&quot;<\/span>: <span style=\"color: #BA2121\">&quot;https:\/\/dav.jianguoyun.com\/dav\/&quot;<\/span>,\n    <span style=\"color: #BA2121\">&quot;webdav_login&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_USER&quot;<\/span>],\n    <span style=\"color: #BA2121\">&quot;webdav_password&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_PASS&quot;<\/span>],\n}\nclient <span style=\"color: #666\">=<\/span> Client(options)\n\nclient<span style=\"color: #666\">.<\/span>download_sync(remote_path<span style=\"color: #666\">=<\/span><span style=\"color: #BA2121\">&quot;\/papers\/paper.pdf&quot;<\/span>, local_path<span style=\"color: #666\">=<\/span><span style=\"color: #BA2121\">&quot;.\/paper_back.pdf&quot;<\/span>)\n<span style=\"color: #008000\">print<\/span>(<span style=\"color: #BA2121\">&quot;downloaded .\/paper_back.pdf&quot;<\/span>)\n<\/code><\/pre>\n<\/div>\n<p>This is <em>file automation<\/em>, not bidirectional delta sync. <strong>Nutstore&rsquo;s Delta Sync is a PC-client feature<\/strong> \u2014 your Python script does not trigger it and cannot rely on it. Do not assume that a listing call returns reliable modification timestamps; if you need to compare versions, verify what your library actually returns for the files you care about before depending on it.<\/p>\n<h3 id=\"step-7-wrap-the-workflow-into-a-repeatable-script\">Step 7 \u2014 Wrap the workflow into a repeatable script<\/h3>\n<p>Turn Steps 5 and 6 into one function that walks a local folder <em>including its subfolders<\/em>, creates the matching remote folders, and uploads only the files that differ from what is already stored. This is the payoff \u2014 the manual drag-and-drop step disappears.<\/p>\n<p><strong>First, inspect what your installed library version actually returns.<\/strong> Run these two probes against a file you have already uploaded and read the output before you run the script. This block is complete on its own:<\/p>\n<div class=\"highlight\" style=\"background: #f8f8f8\">\n<pre style=\"line-height: 125%;\"><span><\/span><code><span style=\"color: #008000; font-weight: bold\">import<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">os<\/span>\n<span style=\"color: #008000; font-weight: bold\">from<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">webdav3.client<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #008000; font-weight: bold\">import<\/span> Client\n\noptions <span style=\"color: #666\">=<\/span> {\n    <span style=\"color: #BA2121\">&quot;webdav_hostname&quot;<\/span>: <span style=\"color: #BA2121\">&quot;https:\/\/dav.jianguoyun.com\/dav\/&quot;<\/span>,\n    <span style=\"color: #BA2121\">&quot;webdav_login&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_USER&quot;<\/span>],\n    <span style=\"color: #BA2121\">&quot;webdav_password&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_PASS&quot;<\/span>],\n}\nclient <span style=\"color: #666\">=<\/span> Client(options)\n\n<span style=\"color: #008000\">print<\/span>(client<span style=\"color: #666\">.<\/span>list(<span style=\"color: #BA2121\">&quot;\/papers&quot;<\/span>))\n<span style=\"color: #008000\">print<\/span>(client<span style=\"color: #666\">.<\/span>info(<span style=\"color: #BA2121\">&quot;\/papers\/paper.pdf&quot;<\/span>))\n<\/code><\/pre>\n<\/div>\n<p>In <code>webdavclient3<\/code>, <code>client.list()<\/code> returns a collection of entry names, while <code>client.info(path)<\/code> returns a dictionary of attributes for a single entry. The exact attribute key names can differ between library versions, so use what the probe prints rather than assuming. The helper below tries the common key names for size and returns <code>None<\/code> only when the response carries no recognizable size attribute \u2014 it does <strong>not<\/strong> swallow connection or authentication failures.<\/p>\n<div class=\"highlight\" style=\"background: #f8f8f8\">\n<pre style=\"line-height: 125%;\"><span><\/span><code><span style=\"color: #008000; font-weight: bold\">import<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">os<\/span>\n<span style=\"color: #008000; font-weight: bold\">from<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">webdav3.client<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #008000; font-weight: bold\">import<\/span> Client\n\noptions <span style=\"color: #666\">=<\/span> {\n    <span style=\"color: #BA2121\">&quot;webdav_hostname&quot;<\/span>: <span style=\"color: #BA2121\">&quot;https:\/\/dav.jianguoyun.com\/dav\/&quot;<\/span>,\n    <span style=\"color: #BA2121\">&quot;webdav_login&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_USER&quot;<\/span>],\n    <span style=\"color: #BA2121\">&quot;webdav_password&quot;<\/span>: os<span style=\"color: #666\">.<\/span>environ[<span style=\"color: #BA2121\">&quot;NUTSTORE_WEBDAV_PASS&quot;<\/span>],\n}\nclient <span style=\"color: #666\">=<\/span> Client(options)\n\nSIZE_KEYS <span style=\"color: #666\">=<\/span> (<span style=\"color: #BA2121\">&quot;size&quot;<\/span>, <span style=\"color: #BA2121\">&quot;content_length&quot;<\/span>, <span style=\"color: #BA2121\">&quot;getcontentlength&quot;<\/span>, <span style=\"color: #BA2121\">&quot;contentlength&quot;<\/span>)\n\n<span style=\"color: #008000; font-weight: bold\">def<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F\">remote_size<\/span>(client, remote_path):\n<span style=\"color: #BBB\">    <\/span><span style=\"color: #BA2121; font-style: italic\">&quot;&quot;&quot;Return the reported remote size, or None when the response carries<\/span>\n<span style=\"color: #BA2121; font-style: italic\">    no recognizable size attribute.<\/span>\n\n<span style=\"color: #BA2121; font-style: italic\">    Connection and authentication failures are NOT converted to None here:<\/span>\n<span style=\"color: #BA2121; font-style: italic\">    they propagate so the caller can abort instead of uploading blindly.<\/span>\n<span style=\"color: #BA2121; font-style: italic\">    &quot;&quot;&quot;<\/span>\n    info <span style=\"color: #666\">=<\/span> client<span style=\"color: #666\">.<\/span>info(remote_path)  <span style=\"color: #3D7B7B; font-style: italic\"># connection\/auth errors propagate<\/span>\n    <span style=\"color: #008000; font-weight: bold\">if<\/span> <span style=\"color: #A2F; font-weight: bold\">not<\/span> <span style=\"color: #008000\">isinstance<\/span>(info, <span style=\"color: #008000\">dict<\/span>):\n        <span style=\"color: #008000; font-weight: bold\">return<\/span> <span style=\"color: #008000; font-weight: bold\">None<\/span>  <span style=\"color: #3D7B7B; font-style: italic\"># unsupported\/opaque response: no size attribute to read<\/span>\n    <span style=\"color: #008000; font-weight: bold\">for<\/span> key <span style=\"color: #A2F; font-weight: bold\">in<\/span> SIZE_KEYS:\n        value <span style=\"color: #666\">=<\/span> info<span style=\"color: #666\">.<\/span>get(key)\n        <span style=\"color: #008000; font-weight: bold\">try<\/span>:\n            <span style=\"color: #008000; font-weight: bold\">return<\/span> <span style=\"color: #008000\">int<\/span>(value)\n        <span style=\"color: #008000; font-weight: bold\">except<\/span> (<span style=\"color: #CB3F38; font-weight: bold\">TypeError<\/span>, <span style=\"color: #CB3F38; font-weight: bold\">ValueError<\/span>):\n            <span style=\"color: #008000; font-weight: bold\">continue<\/span>\n    <span style=\"color: #008000; font-weight: bold\">return<\/span> <span style=\"color: #008000; font-weight: bold\">None<\/span>\n\n<span style=\"color: #008000; font-weight: bold\">def<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F\">sync_folder<\/span>(client, local_dir, remote_dir):\n    <span style=\"color: #008000; font-weight: bold\">if<\/span> <span style=\"color: #A2F; font-weight: bold\">not<\/span> client<span style=\"color: #666\">.<\/span>check(remote_dir):\n        client<span style=\"color: #666\">.<\/span>mkdir(remote_dir)\n\n    remote_names <span style=\"color: #666\">=<\/span> {\n        <span style=\"color: #008000\">str<\/span>(entry)<span style=\"color: #666\">.<\/span>rstrip(<span style=\"color: #BA2121\">&quot;\/&quot;<\/span>)<span style=\"color: #666\">.<\/span>split(<span style=\"color: #BA2121\">&quot;\/&quot;<\/span>)[<span style=\"color: #666\">-1<\/span>]\n        <span style=\"color: #008000; font-weight: bold\">for<\/span> entry <span style=\"color: #A2F; font-weight: bold\">in<\/span> client<span style=\"color: #666\">.<\/span>list(remote_dir)\n    }\n\n    <span style=\"color: #008000; font-weight: bold\">for<\/span> name <span style=\"color: #A2F; font-weight: bold\">in<\/span> <span style=\"color: #008000\">sorted<\/span>(os<span style=\"color: #666\">.<\/span>listdir(local_dir)):\n        local_path <span style=\"color: #666\">=<\/span> os<span style=\"color: #666\">.<\/span>path<span style=\"color: #666\">.<\/span>join(local_dir, name)\n        remote_path <span style=\"color: #666\">=<\/span> <span style=\"color: #BA2121\">f&quot;<\/span><span style=\"color: #A45A77; font-weight: bold\">{<\/span>remote_dir<span style=\"color: #666\">.<\/span>rstrip(<span style=\"color: #BA2121\">&#39;\/&#39;<\/span>)<span style=\"color: #A45A77; font-weight: bold\">}<\/span><span style=\"color: #BA2121\">\/<\/span><span style=\"color: #A45A77; font-weight: bold\">{<\/span>name<span style=\"color: #A45A77; font-weight: bold\">}<\/span><span style=\"color: #BA2121\">&quot;<\/span>\n\n        <span style=\"color: #008000; font-weight: bold\">if<\/span> os<span style=\"color: #666\">.<\/span>path<span style=\"color: #666\">.<\/span>isdir(local_path):\n            sync_folder(client, local_path, remote_path)\n            <span style=\"color: #008000; font-weight: bold\">continue<\/span>\n        <span style=\"color: #008000; font-weight: bold\">if<\/span> <span style=\"color: #A2F; font-weight: bold\">not<\/span> os<span style=\"color: #666\">.<\/span>path<span style=\"color: #666\">.<\/span>isfile(local_path):\n            <span style=\"color: #008000; font-weight: bold\">continue<\/span>\n\n        <span style=\"color: #3D7B7B; font-style: italic\"># Only query the server for files that already exist remotely.<\/span>\n        <span style=\"color: #008000; font-weight: bold\">if<\/span> name <span style=\"color: #A2F; font-weight: bold\">in<\/span> remote_names:\n            <span style=\"color: #008000; font-weight: bold\">try<\/span>:\n                rsize <span style=\"color: #666\">=<\/span> remote_size(client, remote_path)\n            <span style=\"color: #008000; font-weight: bold\">except<\/span> <span style=\"color: #CB3F38; font-weight: bold\">Exception<\/span> <span style=\"color: #008000; font-weight: bold\">as<\/span> err:\n                <span style=\"color: #3D7B7B; font-style: italic\"># The server check itself failed (connection, auth, etc.).<\/span>\n                <span style=\"color: #3D7B7B; font-style: italic\"># Do NOT treat this as &quot;size unknown&quot; and upload anyway; stop<\/span>\n                <span style=\"color: #3D7B7B; font-style: italic\"># the run so a failed check is never mistaken for a decision.<\/span>\n                <span style=\"color: #008000\">print<\/span>(<span style=\"color: #BA2121\">f&quot;remote check failed for <\/span><span style=\"color: #A45A77; font-weight: bold\">{<\/span>remote_path<span style=\"color: #A45A77; font-weight: bold\">}<\/span><span style=\"color: #BA2121\">: <\/span><span style=\"color: #A45A77; font-weight: bold\">{<\/span>err<span style=\"color: #A45A77; font-weight: bold\">}<\/span><span style=\"color: #BA2121\">&quot;<\/span>)\n                <span style=\"color: #008000; font-weight: bold\">raise<\/span>\n            <span style=\"color: #008000; font-weight: bold\">if<\/span> rsize <span style=\"color: #A2F; font-weight: bold\">is<\/span> <span style=\"color: #A2F; font-weight: bold\">not<\/span> <span style=\"color: #008000; font-weight: bold\">None<\/span> <span style=\"color: #A2F; font-weight: bold\">and<\/span> rsize <span style=\"color: #666\">==<\/span> os<span style=\"color: #666\">.<\/span>path<span style=\"color: #666\">.<\/span>getsize(local_path):\n                <span style=\"color: #008000; font-weight: bold\">continue<\/span>  <span style=\"color: #3D7B7B; font-style: italic\"># same name, same reported size: skip<\/span>\n\n        <span style=\"color: #3D7B7B; font-style: italic\"># upload_with_retry is defined in Step 8.<\/span>\n        <span style=\"color: #008000; font-weight: bold\">if<\/span> upload_with_retry(client, remote_path, local_path):\n            <span style=\"color: #008000\">print<\/span>(<span style=\"color: #BA2121\">f&quot;uploaded: <\/span><span style=\"color: #A45A77; font-weight: bold\">{<\/span>remote_path<span style=\"color: #A45A77; font-weight: bold\">}<\/span><span style=\"color: #BA2121\">&quot;<\/span>)\n        <span style=\"color: #008000; font-weight: bold\">else<\/span>:\n            <span style=\"color: #008000\">print<\/span>(<span style=\"color: #BA2121\">f&quot;upload failed, skipped: <\/span><span style=\"color: #A45A77; font-weight: bold\">{<\/span>remote_path<span style=\"color: #A45A77; font-weight: bold\">}<\/span><span style=\"color: #BA2121\">&quot;<\/span>)\n\nsync_folder(client, <span style=\"color: #BA2121\">&quot;.\/papers&quot;<\/span>, <span style=\"color: #BA2121\">&quot;\/papers&quot;<\/span>)\n<\/code><\/pre>\n<\/div>\n<p>Four things to be precise about, because all four affect whether your remote copy is actually current and how many requests you spend.<\/p>\n<p><strong>Recursion.<\/strong> The function calls itself for every subdirectory and creates the corresponding remote folder before uploading anything inside it, so nested research files \u2014 a <code>papers\/2026\/<\/code> tree, for example \u2014 are uploaded rather than skipped.<\/p>\n<p><strong>The listing is reused, not repeated.<\/strong> <code>remote_names<\/code> is built once per directory from a single <code>client.list()<\/code> call, and it gates the <code>client.info()<\/code> probe. Files that are not already on the server skip the probe entirely and go straight to upload, which saves one request per new file.<\/p>\n<p><strong>The skip check is a name-and-size comparison, not a content comparison.<\/strong> A file is skipped only when a remote entry of the same name reports the same size. If a local file keeps its size but changes its contents, the size check will not catch it and that file will be skipped. If you need tighter detection, add a modification-time comparison \u2014 but only after confirming from the <code>client.info()<\/code> probe that your library version returns a timestamp you can trust.<\/p>\n<p><strong>A missing size attribute is not the same as a failed check.<\/strong> When <code>remote_size<\/code> returns <code>None<\/code> \u2014 meaning the response contained no recognizable size key \u2014 the function uploads the file instead of skipping it. That is the safe default: it never silently leaves an outdated remote copy behind, but it does cost one upload request per file on every run. If your probe shows the size key differs from the four listed, add that key to <code>SIZE_KEYS<\/code> so skipping works and your request budget is protected. A genuine connection or authentication failure is handled differently: it raises out of <code>remote_size<\/code>, is logged, and stops the run, so an upload is never triggered by a check that never actually succeeded.<\/p>\n<p><strong>The upload call is routed through the retry helper.<\/strong> <code>sync_folder<\/code> no longer calls <code>client.upload_sync<\/code> directly; it calls <code>upload_with_retry<\/code> (defined in Step 8) and checks the boolean it returns, so a failed upload is logged as <code>upload failed, skipped<\/code> and the run continues to the next file instead of crashing. If you prefer a hard stop on the first failure, raise inside the <code>else<\/code> branch instead of printing.<\/p>\n<p>Skipping unchanged files is not just tidiness \u2014 it protects your request budget, which Step 8 explains.<\/p>\n<h3 id=\"step-8-schedule-it-and-handle-failures\">Step 8 \u2014 Schedule it and handle failures<\/h3>\n<p><strong>Scheduling.<\/strong> Use <code>cron<\/code> on macOS\/Linux and Task Scheduler on Windows. A nightly cron entry at 2:00 AM:<\/p>\n<div class=\"highlight\" style=\"background: #f8f8f8\">\n<pre style=\"line-height: 125%;\"><span><\/span><code><span style=\"color: #666\">0<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #666\">2<\/span><span style=\"color: #BBB\"> <\/span>*<span style=\"color: #BBB\"> <\/span>*<span style=\"color: #BBB\"> <\/span>*<span style=\"color: #BBB\"> <\/span>\/usr\/bin\/python3<span style=\"color: #BBB\"> <\/span>\/home\/me\/sync_papers.py<span style=\"color: #BBB\"> <\/span>&gt;&gt;<span style=\"color: #BBB\"> <\/span>\/home\/me\/sync.log<span style=\"color: #BBB\"> <\/span><span style=\"color: #666\">2<\/span>&gt;&amp;<span style=\"color: #666\">1<\/span>\n<\/code><\/pre>\n<\/div>\n<p><strong>Failure handling.<\/strong> Design your script to separate errors that are worth retrying from errors that are not. Connection problems are usually transient and worth a retry with a growing delay; authentication problems and malformed paths are not, and retrying them just burns requests. <code>webdavclient3<\/code> exposes its exception classes in the <code>webdav3.exceptions<\/code> module \u2014 the example below uses the names commonly found there, but check your installed version&rsquo;s documentation, because class names can change between releases. This is the helper that <code>sync_folder<\/code> in Step 7 calls.<\/p>\n<div class=\"highlight\" style=\"background: #f8f8f8\">\n<pre style=\"line-height: 125%;\"><span><\/span><code><span style=\"color: #008000; font-weight: bold\">import<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">time<\/span>\n<span style=\"color: #008000; font-weight: bold\">from<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F; font-weight: bold\">webdav3.exceptions<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #008000; font-weight: bold\">import<\/span> (\n    NotConnection,\n    NoConnection,\n    WebDavException,\n)\n\n<span style=\"color: #008000; font-weight: bold\">def<\/span><span style=\"color: #BBB\"> <\/span><span style=\"color: #00F\">upload_with_retry<\/span>(client, remote_path, local_path, attempts<span style=\"color: #666\">=3<\/span>, base_delay<span style=\"color: #666\">=5<\/span>):\n    <span style=\"color: #008000; font-weight: bold\">for<\/span> attempt <span style=\"color: #A2F; font-weight: bold\">in<\/span> <span style=\"color: #008000\">range<\/span>(<span style=\"color: #666\">1<\/span>, attempts <span style=\"color: #666\">+<\/span> <span style=\"color: #666\">1<\/span>):\n        <span style=\"color: #008000; font-weight: bold\">try<\/span>:\n            client<span style=\"color: #666\">.<\/span>upload_sync(remote_path<span style=\"color: #666\">=<\/span>remote_path, local_path<span style=\"color: #666\">=<\/span>local_path)\n            <span style=\"color: #008000; font-weight: bold\">return<\/span> <span style=\"color: #008000; font-weight: bold\">True<\/span>\n        <span style=\"color: #008000; font-weight: bold\">except<\/span> (NotConnection, NoConnection) <span style=\"color: #008000; font-weight: bold\">as<\/span> err:\n            <span style=\"color: #008000\">print<\/span>(<span style=\"color: #BA2121\">f&quot;connection error, attempt <\/span><span style=\"color: #A45A77; font-weight: bold\">{<\/span>attempt<span style=\"color: #A45A77; font-weight: bold\">}<\/span><span style=\"color: #BA2121\">: <\/span><span style=\"color: #A45A77; font-weight: bold\">{<\/span>err<span style=\"color: #A45A77; font-weight: bold\">}<\/span><span style=\"color: #BA2121\">&quot;<\/span>)\n        <span style=\"color: #008000; font-weight: bold\">except<\/span> WebDavException <span style=\"color: #008000; font-weight: bold\">as<\/span> err:\n            <span style=\"color: #3D7B7B; font-style: italic\"># Non-transient: auth failures, bad paths, missing resources.<\/span>\n            <span style=\"color: #008000\">print<\/span>(<span style=\"color: #BA2121\">f&quot;WebDAV error, not retrying: <\/span><span style=\"color: #A45A77; font-weight: bold\">{<\/span>err<span style=\"color: #A45A77; font-weight: bold\">}<\/span><span style=\"color: #BA2121\">&quot;<\/span>)\n            <span style=\"color: #008000; font-weight: bold\">return<\/span> <span style=\"color: #008000; font-weight: bold\">False<\/span>\n        <span style=\"color: #008000; font-weight: bold\">if<\/span> attempt <span style=\"color: #666\">&lt;<\/span> attempts:\n            time<span style=\"color: #666\">.<\/span>sleep(base_delay <span style=\"color: #666\">*<\/span> attempt)\n    <span style=\"color: #008000; font-weight: bold\">return<\/span> <span style=\"color: #008000; font-weight: bold\">False<\/span>\n<\/code><\/pre>\n<\/div>\n<p>With <code>attempts=3<\/code>, the helper makes up to three upload attempts and sleeps only <em>between<\/em> them: it waits 5 seconds before the second attempt and 10 seconds before the third. It does <strong>not<\/strong> sleep after the final failed attempt, since there is nothing left to wait for. That growing gap gives a flaky connection time to recover without hammering the server. Because <code>sync_folder<\/code> now calls this helper and inspects its return value, a failed upload is logged instead of crashing the whole run.<\/p>\n<p><strong>Stay inside the request budget.<\/strong> Respect the <strong>1,500-requests-per-30-minutes limit for paid users<\/strong>. A naive loop over thousands of small files can burn through that budget in seconds, because each file costs at least one request \u2014 each remote directory created costs one, each <code>client.list()<\/code> costs one, and each <code>client.info()<\/code> probe in the skip check costs one too. Batch where your library allows it, skip unchanged files, and pace your runs rather than firing everything at once. If a run is interrupted by the limit, a retry loop will make it worse, not better \u2014 pause and resume later.<\/p>\n<h3 id=\"step-9-connect-the-same-webdav-endpoint-to-zotero-joplin-or-wps\">Step 9 \u2014 Connect the same WebDAV endpoint to Zotero, Joplin, or WPS<\/h3>\n<p><code>dav.jianguoyun.com\/dav\/<\/code> is not Python-specific. The same server address and your account&rsquo;s WebDAV credentials can be entered in third-party applications \u2014 <strong>Nutstore&rsquo;s WebDAV integration is documented with WPS, Zotero, PDF Expert, Notability, Joplin, and Keepass<\/strong>.<\/p>\n<p>One boundary, stated plainly: <strong>third-party app autosave and recovery depend on the app, version, device, and settings.<\/strong> Do not assume an app will autosave or recover anything. What is reliable is this: files that sync successfully can be reached from another supported device or the web.<\/p>\n<p>If you are wiring this up for a team rather than yourself, Nutstore&rsquo;s Team plan is worth a look \u2014 it comes with a <strong>20-day free trial<\/strong>: <a href=\"https:\/\/www.jianguoyun.com\/s\/campaign\/cpclanding\/team?sch=AIcb\">Start the Nutstore Team plan trial<\/a>.<\/p>\n<hr>\n<h2 id=\"troubleshooting-common-nutstore-webdav-python-errors\">Troubleshooting Common Nutstore WebDAV Python Errors<\/h2>\n<p><strong>Quick answer:<\/strong> If your script fails, check these three things in order. First, verify the endpoint string is exactly <code>dav.jianguoyun.com\/dav\/<\/code> and that you are using the WebDAV credential type your account issues \u2014 a wrong credential type is the usual cause of <code>401<\/code> and <code>403<\/code> errors. Second, confirm the remote path you are writing to matches the path you are checking, and re-list the directory to confirm the upload actually landed. Third, account for the paid-user limit of <strong>1,500 WebDAV requests per 30 minutes<\/strong>, which a large folder of small files can exhaust quickly.<\/p>\n<p>The three sections below map each symptom to its cause and its fix.<\/p>\n<h3 id=\"authentication-fails-401-403\">Authentication fails (401 \/ 403)<\/h3>\n<p><strong>Likely cause:<\/strong> the wrong credential type for WebDAV, or credentials that are no longer valid.<br \/>\n<strong>Fix:<\/strong> re-check which credentials your account provides for WebDAV in your account settings or current documentation, re-export the environment variable, confirm the username format the library expects, and retry the Step 4 listing call. Do not put this case in a retry loop \u2014 retrying bad credentials only consumes requests.<\/p>\n<h3 id=\"requests-start-failing-after-a-burst-of-uploads\">Requests start failing after a burst of uploads<\/h3>\n<p><strong>Likely cause:<\/strong> the limit of <strong>1,500 requests per 30 minutes for paid users<\/strong>.<br \/>\n<strong>Fix:<\/strong> confirm this is the cause rather than a network error, then reduce request volume \u2014 skip unchanged files, batch where the library allows, and increase the interval between scheduled runs. A script that uploads one file per request consumes the budget quickly on large folders, and each directory creation, each listing, and each <code>client.info()<\/code> probe in the Step 7 skip check adds another request.<\/p>\n<h3 id=\"file-uploads-succeed-but-the-file-isnt-visible-where-expected\">File uploads succeed but the file isn&rsquo;t visible where expected<\/h3>\n<p><strong>Likely cause:<\/strong> the file was written to a different remote path than the one being checked, the local edit was never saved, or you are checking a third-party app whose behavior is app-dependent.<br \/>\n<strong>Fix:<\/strong> list the remote directory to confirm the path, save and re-upload the local file, and treat third-party app refresh as dependent on that app&rsquo;s version, device, and settings rather than on Nutstore.<\/p>\n<hr>\n<h2 id=\"frequently-asked-questions\">Frequently Asked Questions<\/h2>\n<p><strong>Does Nutstore have a Python SDK?<\/strong><br \/>\nNo. There is no dedicated Nutstore Python SDK. You use a general-purpose WebDAV client library against <code>dav.jianguoyun.com\/dav\/<\/code>. This is the single most important expectation to set before you start.<\/p>\n<p><strong>Can I use this Python WebDAV setup for code version control?<\/strong><br \/>\nNo. This automates file handling. Nutstore is not recommended for code sync and is not a version control system. Use it for documents, research files, and app data \u2014 not repositories.<\/p>\n<p><strong>What is the WebDAV request limit, and why does it matter for scripting?<\/strong><br \/>\nThe published limit is <strong>1,500 requests per 30 minutes for paid users<\/strong>. It matters because a script that issues one request per file can exceed it on large folders. Design for pacing and skip unchanged files.<\/p>\n<p><strong>Will WebDAV sync my unsaved edits?<\/strong><br \/>\nNo. <strong>Only saved and uploaded files are available through cloud sync.<\/strong> An edit still open in an editor, or a file that hasn&rsquo;t been uploaded, is not reachable from another device or the web.<\/p>\n<p><strong>Can I use the same WebDAV connection for Zotero, Joplin, or WPS?<\/strong><br \/>\nYes \u2014 the same server address and your account&rsquo;s WebDAV credentials work in these apps. But autosave and recovery behavior depends on the app, version, device, and settings, so don&rsquo;t assume identical behavior across tools. If you don&rsquo;t yet have an account, <a href=\"https:\/\/www.jianguoyun.com\/s\/campaign\/cpclanding\/main?sch=AIcb\">explore Nutstore here<\/a>.<\/p>\n<p><strong>Does this work on mobile?<\/strong><br \/>\nThe Python script runs on a computer. Access to synced files from mobile and web is a separate capability, and features can differ by platform \u2014 don&rsquo;t assume every desktop behavior carries over.<\/p>\n<hr>\n<h2 id=\"summary-what-your-webdav-upload-automation-can-and-cannot-do\">Summary: What Your WebDAV Upload Automation Can and Cannot Do<\/h2>\n<p>You now have a repeatable WebDAV Python script: point a general-purpose WebDAV client library at <code>dav.jianguoyun.com\/dav\/<\/code> with your account&rsquo;s WebDAV credentials, and you have removed the manual upload step from your workflow. The same connection reaches Zotero, Joplin, and WPS through the identical endpoint.<\/p>\n<p>Two boundaries to keep in view. First, <strong>paid users are limited to 1,500 WebDAV requests per 30 minutes<\/strong> \u2014 pace your scripts accordingly. Second, <strong>only saved and uploaded files are available through cloud sync<\/strong>; unsaved edits are not. And this remains file automation, not code version control.<\/p>\n<p>If you&rsquo;re setting this up for a team rather than yourself, Nutstore&rsquo;s Team plan comes with a <strong>20-day free trial<\/strong>.<\/p>\n<p><strong>Start the Team plan trial:<\/strong> <a href=\"https:\/\/www.jianguoyun.com\/s\/campaign\/cpclanding\/team?sch=AIcb\">Nutstore Team plan \u2014 20-day free trial<\/a><br \/>\n<strong>Explore Nutstore:<\/strong> <a href=\"https:\/\/www.jianguoyun.com\/s\/campaign\/cpclanding\/main?sch=AIcb\">Nutstore main site<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to automate research file uploads and downloads with a Python WebDAV client connected to Nutstore at dav.jianguoyun.com\/dav\/. This guide includes a working webdavclient3 script, credential and scheduling guidance, retry handling, and tips for connecting Zotero, Joplin, and WPS. It also explains key limits: paid accounts are capped at 1,500 WebDAV requests per 30 minutes, only saved and uploaded files are available through cloud sync, and this workflow is not code version control.<\/p>\n","protected":false},"author":1,"featured_media":496,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[74],"tags":[501,180,12,455,53,351,54],"_links":{"self":[{"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/posts\/497"}],"collection":[{"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=497"}],"version-history":[{"count":0,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/posts\/497\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/media\/496"}],"wp:attachment":[{"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}