Skip to main content

List badges

GET 

/admin/badges.json

List badges

Responses

success response

Schema
    badges object[]required
  • 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
    long_description stringrequired
    slug stringrequired
    manually_grantable booleanrequired
    query stringnullrequired
    trigger integernullrequired
    target_posts booleanrequired
    auto_revoke booleanrequired
    show_posts booleanrequired
    i18n_name stringnullrequired
    badge_type_id integerrequired
  • ]
  • badge_types object[]required
  • Array [
  • id integerrequired
    name stringrequired
    sort_order integerrequired
  • ]
  • badge_groupings object[]required
  • Array [
  • id integerrequired
    name stringrequired
    description stringnullrequired
    position integerrequired
    system booleanrequired
  • ]
  • admin_badges objectrequired
    protected_system_fields undefined[]required
    triggers objectrequired
    user_change integerrequired
    none integerrequired
    post_revision integerrequired
    trust_level_change integerrequired
    post_action integerrequired
    badge_ids undefined[]required
    badge_grouping_ids undefined[]required
    badge_type_ids undefined[]required
Loading...