根据项目 id,任务 id 下载任务源文案
| 名称 | 内容 |
|---|---|
| 请求方式 | GET |
| Action | ProjectTaskSourceDownload |
| 参数名 | 是否必填 | 类型 | 描述 |
|---|---|---|---|
| projectId | required | number | 项目id |
| format | optional | string | 下载格式。(支持格式列表:strings|stringsdict|json|xml|po|ts)default: json |
| taskId | required | number | 任务id |
| dirType | optional | string | 下载文件目录格式 (primary: 偏平,例如/en.json locale: 按语言层级,例如/en/{fileName}.json) default: primary |
| fileName | optional | string | 当dirType 为 locale时,下载文件名称/en/{fileName}.json) default: strings |
| xmlUnescapesTag | optional | string | xml标签转义配置,多个标签以「,」分隔。xml文件导出默认会对<>&等字符进行转义。如果使用本配置,如:传入 font ,这样会保留font标签 "<font>";如果没有配置本设置,那么会被转义为如:"<font>" |