Skip to main content

List badges for a user

GET 

/user-badges/:username.json

List badges for a user

Request

Path Parameters

    username stringrequired

Responses

success response

Schema
    badges object[]
  • Array [
  • id integerrequired
    name stringrequired
    description stringrequired
    grant_count integerrequired
    allow_title booleanrequired
    multiple_grant booleanrequired
    icon stringrequired
    image_url stringnullrequired
    listable booleanrequired
    enabled booleanrequired
    badge_grouping_id integerrequired
    system booleanrequired
    slug stringrequired
    manually_grantable booleanrequired
    badge_type_id integerrequired
  • ]
  • badge_types object[]
  • Array [
  • id integerrequired
    name stringrequired
    sort_order integerrequired
  • ]
  • granted_bies object[]
  • Array [
  • id integerrequired
    username stringrequired
    name stringrequired
    avatar_template stringrequired
    flair_name stringnullrequired
    admin booleanrequired
    moderator booleanrequired
    trust_level integerrequired
  • ]
  • user_badges object[]required
  • Array [
  • id integerrequired
    granted_at stringrequired
    grouping_position integerrequired
    is_favorite stringnullrequired
    can_favorite booleanrequired
    badge_id integerrequired
    granted_by_id integerrequired
  • ]
Loading...