computer.localnetwork.flags.getFlags

Every feature flag's public gates, and whether the caller is targeted by account or group. Inter-service auth is optional: without it, nothing is targeted. A flag is on for a caller when it's enabled and it's on for everyone, targets them, or their DID falls inside the percentage. Group names and member lists aren't exposed.

Repository @localnetwork.computer did:plc:d42l64gsczg6qh2vo243xv5l not from the namespace authority
Details · query
Kindquery
Authorityflags.localnetwork.computer
Commit rev3n2kaddvg742n
Indexed

Query

query · GET

Output

application/json

flags

requiredarray
itemsref
Reference

Errors

AuthenticationRequired

A token was sent and isn't valid.

RateLimitExceeded

No description in schema.

#flag

object

Properties

enabled

requiredboolean

False means off for every caller, whatever the other gates say.

everyone

requiredboolean

key

requiredstring
  • maxLength: 64

percentage

requiredinteger
  • minimum: 0
  • maximum: 100

targeted

requiredboolean

The caller is one of the flag's accounts or in one of its groups.

Similar lexicons

semantic match

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

  • computer.localnetwork.staff.flag

    record not from the namespace authority

    Who a feature flag is on for, keyed by the flag's key. Any gate that matches turns it on. Written only by the root account into the staff space.