Movatterモバイル変換


[0]ホーム

URL:


Type badge

Discussion

This type represents a badge on a Stack Exchange site.

Some badges, like Autobiographer, are held in common across all Stack Exchange sites. Others, like most tag badges, vary on a site by site basis.

Remember that ids arenever guaranteed to be the same between sites, even if a badge exists on both sites.

Fields

award_count
integer

badge_id
integer, refers to abadge

badge_type
one ofnamed, ortag_based

description
string
unchanged inunsafe filters

link
string
unchanged inunsafe filters

name
string

rank
one ofgold,silver, orbronze

user

Fields marked with are included in the default filter, those marked with are excluded in the default filter.

Examples

Named Badge

{"badge_type":"named","award_count":2000,"rank":"silver","badge_id":94,"link":"http://example.stackexchange.com/badges/94/pundit","description":"Left 10 comments with a score of 5 or more","name":"Pundit"}

Tag Badge

{"badge_type":"tag_based","award_count":20,"rank":"bronze","badge_id":450,"link":"http://example.stackexchange.com/badges/450/xna","description":"Earned 100 upvotes for at least 20 answers in the xna tag","name":"xna"}

Awarded Badge

{"user":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":100,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"http://example.stackexchange.com/users/1/example-user"},"badge_type":"named","award_count":2000,"rank":"silver","badge_id":94,"link":"http://example.stackexchange.com/badges/94/pundit","description":"Left 10 comments with a score of 5 or more","name":"Pundit"}

Methods That Return This Type

badges
badges/name
badges/tags
badges/{ids}
badges/recipients
badges/{ids}/recipients
users/{ids}/badges
me/badges
Navigation

aboutblogterms of usecontact usfeedback always welcome

site design / logo © 2025 Stack Exchange, Inc; user contributions licensed underCC BY-SA



[8]ページ先頭

©2009-2025 Movatter.jp