mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Add support to create update tag translation task
This commit is contained in:
@@ -340,6 +340,13 @@ abstract class _EHApi {
|
||||
@Part(name: "type") String t = "import",
|
||||
@CancelRequest() CancelToken? cancel,
|
||||
});
|
||||
@PUT('/task')
|
||||
@MultiPart()
|
||||
Future<ApiResult<Task>> createUpdateTagTranslationTask({
|
||||
@Part(name: "cfg") UpdateTagTranslationConfig? cfg,
|
||||
@Part(name: "type") String t = "update_tag_translation",
|
||||
@CancelRequest() CancelToken? cancel,
|
||||
});
|
||||
@GET('/task/download_cfg')
|
||||
Future<ApiResult<DownloadConfig>> getDefaultDownloadConfig(
|
||||
{@CancelRequest() CancelToken? cancel});
|
||||
|
||||
Reference in New Issue
Block a user