addAvatarHashBan abstract method

  1. @POST.new('/admin/bans/avatar-hash/add')
Future<void> addAvatarHashBan({
  1. @Body.new() required BanAvatarHashRequest body,
})

Add avatar hash ban.

Ban one or more 8-char MD5-prefix avatar hashes. Avatars matching the banned hash will be rejected on upload.

body - Name not received - field will be skipped.

Implementation

@POST('/admin/bans/avatar-hash/add')
Future<void> addAvatarHashBan({@Body() required BanAvatarHashRequest body});