getSearchIndexRefreshStatus abstract method

  1. @POST.new('/admin/search/refresh-status')
Future<IndexRefreshStatusResponse> getSearchIndexRefreshStatus({
  1. @Body.new() required GetIndexRefreshStatusRequest body,
})

Get search index refresh status.

Polls status of a search index refresh job. Returns completion percentage and current phase. Requires GUILD_LOOKUP permission.

body - Name not received - field will be skipped.

Implementation

@POST('/admin/search/refresh-status')
Future<IndexRefreshStatusResponse> getSearchIndexRefreshStatus({
  @Body() required GetIndexRefreshStatusRequest body,
});