04 device.json (2/2)

  "download": {
    "url": "{cfg.server}/api/books/{id_enc}/download",
    "method": "POST",
    "headers": { "Authorization": "Bearer {token}", "Content-Type": "application/json" },
    "body": "{}",
    "url_path": "url",
    "dest_dir": "/Books/Password Catalog",
    "filename": "{title}.epub",
    "sidecar": { "path": "{dest}.meta.json", "body": "{\"pwcat_id\":\"{id}\"}" }
  }
}
‹ PreviousReader file (.txt)Next ›