sendRemoteUploadActions method

Future<Map> sendRemoteUploadActions({
  1. dynamic restart_errors,
  2. dynamic clear_errors,
  3. dynamic clear_all,
  4. dynamic delete_code,
  5. String? apiKey,
})

Perform various actions on remote upload

DOCS: https://doodstream.com/api-docs#files-copy

Implementation

Future<Map> sendRemoteUploadActions({
  dynamic restart_errors,
  dynamic clear_errors,
  dynamic clear_all,
  dynamic delete_code,
  String? apiKey,
}) async {
  Map result = await invoke(
    uriPath: "urlupload/actions",
    uriQueryParameters: {
      "restart_errors": restart_errors,
      "clear_errors": clear_errors,
      "clear_all": clear_all,
      "delete_code": delete_code,
    },
    apiKey: apiKey,
    statusCodes: [200],
    specialTypeName: "uploadRemoteUrl",
  );

  return result;
}