lemmy_get_report_count: Get counts for your reports

View source: R/http-methods.R

lemmy_get_report_countR Documentation

Get counts for your reports

Description

HTTP.GET /user/report_count

Usage

lemmy_get_report_count(
  community_id = NULL,
  auth,
  .lemmy_instance = getOption("lemmy_instance", "https://lemmy.world")
)

Arguments

community_id

(Optional) A numeric value.

auth

A character value.

.lemmy_instance

Default: "https://lemmy.world". Change the default instance by setting the lemmy_instance options().

Value

A list of length 4:

<list>
|-community_id: (Optional) A numeric value
|-comment_reports: A numeric value
|-post_reports: A numeric value
`-private_message_reports: (Optional) A numeric value

remmy documentation built on July 26, 2023, 5:37 p.m.