org.cairnsproto.draft.getBadges

A participant's badges, each computed from the latest snapshot a project maintainer published.

Repository @cairnsproto.org did:plc:np7ezqujtsry4bkogisaabul namespace authority
Details · query
Kindquery
Authoritydraft.cairnsproto.org
Indexed

Query

query · GET

Parameters

query string

actor

requiredstring · did

project

string · at-uri

Limit to one project.

Output

application/json

actor

requiredstring · did

badges

requiredarray
itemsref
Reference

#badgeView

object

Properties

date

requiredstring · datetime

The snapshot's createdAt.

For published/v1, the merged export the badge comes from.

members

array

For an org's badge rolled up from its members, the members who hold it.

itemsstring · did

n

integer

The rank cutoff, for top/v1.

  • minimum: 1

project

requiredref

rule

requiredstring

The versioned rule, such as contributor/v1 or top/v1.

  • maxLength: 64

snapshot

requiredref

stones

requiredarray

The stones whose finalized credit earned the badge.

itemsref

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • place.stream.badge.getValidBadges

    query not from the namespace authority

    Get valid badges for the authenticated user, optionally in the context of a specific streamer's chat

  • place.stream.badge.getIssuedBadges

    query not from the namespace authority

    Returns badges issued to the authenticated user, organized by display slot. Also indicates which badges are currently selected in the user's chat profile.