Movatterモバイル変換


[0]ホーム

URL:


Usage of /users/{ids}/badgesGET

Discussion

Get the badges the users in {ids} have earned.

Badge sorts are a tad complicated. For the purposes of sorting (and min/max)tag_based is considered to begreater thannamed.

This means that you can get a list of all tag based badges a user has by passingmin=tag_based, and conversely all the named badges by passingmax=named, withsort=type.

For ranks, bronze is greater than silver which is greater than gold. Along withsort=rank, setmax=gold for just gold badges,max=silver&min=silver for just silver, andmin=bronze for just bronze.

rank is the default sort.

{ids} can contain up to 100 semicolon delimited ids. To find ids programmatically look foruser_id onuser orshallow_user objects.

This method returns a list ofbadges.

Try It

Stack Overflow[edit]stackoverflowhttps://stackoverflow.com
https://stackoverflow.com/oauth/dialog?client_id=1&key=U4DMV*8nvpm3EOpvf69Rxw((&redirect_uri=https%3a%2f%2fapi.stackexchange.com%2fdocs%2foauth_landing U4DMV*8nvpm3EOpvf69Rxw((
default filter[edit] ▼
filter


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