pub.chive.governance.getEditorStatus

lexicons.governance.chive.pub

Documentation

Get the trusted editor status and reputation metrics for a user

main query

Get the trusted editor status and reputation metrics for a user

Parameters

did string did Optional

User DID (defaults to authenticated user)

Output

Encodingapplication/json

Errors

AuthenticationRequired
NotFound
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
User DID (defaults to authenticated user)
View raw schema
{
  "description": "Get the trusted editor status and reputation metrics for a user",
  "errors": [
    {
      "name": "AuthenticationRequired"
    },
    {
      "name": "NotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "ref": "#editorStatus",
      "type": "ref"
    }
  },
  "parameters": {
    "properties": {
      "did": {
        "description": "User DID (defaults to authenticated user)",
        "format": "did",
        "type": "string"
      }
    },
    "type": "params"
  },
  "type": "query"
}
editorStatus object

Editor status and metrics

Properties

dailyRateLimit integer Optional

Daily rate limit for delegation

minimum: 0
delegationCollections array of string Optional

Collections the delegation covers

delegationExpiresAt integer Optional

Delegation expiration timestamp

did string did Required

User DID

displayName string Optional

User display name

hasDelegation boolean Required

Whether user has an active PDS delegation

recordsCreatedToday integer Optional

Records created today under delegation

minimum: 0
role string Required

Current governance role

Known values: community-member, trusted-editor, graph-editor, domain-expert, administrator
roleGrantedAt integer Optional

Timestamp when role was granted

roleGrantedBy string did Optional

DID of admin who granted the role

View raw schema
{
  "description": "Editor status and metrics",
  "properties": {
    "dailyRateLimit": {
      "description": "Daily rate limit for delegation",
      "minimum": 0,
      "type": "integer"
    },
    "delegationCollections": {
      "description": "Collections the delegation covers",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "delegationExpiresAt": {
      "description": "Delegation expiration timestamp",
      "type": "integer"
    },
    "did": {
      "description": "User DID",
      "format": "did",
      "type": "string"
    },
    "displayName": {
      "description": "User display name",
      "type": "string"
    },
    "hasDelegation": {
      "description": "Whether user has an active PDS delegation",
      "type": "boolean"
    },
    "metrics": {
      "ref": "#reputationMetrics",
      "type": "ref"
    },
    "recordsCreatedToday": {
      "description": "Records created today under delegation",
      "minimum": 0,
      "type": "integer"
    },
    "role": {
      "description": "Current governance role",
      "knownValues": [
        "community-member",
        "trusted-editor",
        "graph-editor",
        "domain-expert",
        "administrator"
      ],
      "type": "string"
    },
    "roleGrantedAt": {
      "description": "Timestamp when role was granted",
      "type": "integer"
    },
    "roleGrantedBy": {
      "description": "DID of admin who granted the role",
      "format": "did",
      "type": "string"
    }
  },
  "required": [
    "did",
    "role",
    "hasDelegation",
    "metrics"
  ],
  "type": "object"
}
reputationMetrics object

User reputation metrics for governance

Properties

accountAgeDays integer Required

Account age in days

minimum: 0
accountCreatedAt integer Required

Account creation timestamp

did string did Required

User DID

eligibleForTrustedEditor boolean Required

Whether user meets trusted editor criteria

eprintCount integer Required

Total eprints authored

minimum: 0
missingCriteria array of string Required

List of missing eligibility criteria

proposalCount integer Required

Governance proposals submitted

minimum: 0
reputationScore integer Required

Computed reputation score

minimum: 0
role string Required

Current governance role

Known values: community-member, trusted-editor, graph-editor, domain-expert, administrator
successfulProposals integer Required

Proposals that were approved

minimum: 0
totalEndorsements integer Required

Total endorsements received

minimum: 0
violationCount integer Required

Policy violations recorded

minimum: 0
voteCount integer Required

Votes cast

minimum: 0
warningCount integer Required

Moderation warnings received

minimum: 0
wellEndorsedEprintCount integer Required

Eprints with substantial endorsements

minimum: 0
View raw schema
{
  "description": "User reputation metrics for governance",
  "properties": {
    "accountAgeDays": {
      "description": "Account age in days",
      "minimum": 0,
      "type": "integer"
    },
    "accountCreatedAt": {
      "description": "Account creation timestamp",
      "type": "integer"
    },
    "did": {
      "description": "User DID",
      "format": "did",
      "type": "string"
    },
    "eligibleForTrustedEditor": {
      "description": "Whether user meets trusted editor criteria",
      "type": "boolean"
    },
    "eprintCount": {
      "description": "Total eprints authored",
      "minimum": 0,
      "type": "integer"
    },
    "missingCriteria": {
      "description": "List of missing eligibility criteria",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "proposalCount": {
      "description": "Governance proposals submitted",
      "minimum": 0,
      "type": "integer"
    },
    "reputationScore": {
      "description": "Computed reputation score",
      "minimum": 0,
      "type": "integer"
    },
    "role": {
      "description": "Current governance role",
      "knownValues": [
        "community-member",
        "trusted-editor",
        "graph-editor",
        "domain-expert",
        "administrator"
      ],
      "type": "string"
    },
    "successfulProposals": {
      "description": "Proposals that were approved",
      "minimum": 0,
      "type": "integer"
    },
    "totalEndorsements": {
      "description": "Total endorsements received",
      "minimum": 0,
      "type": "integer"
    },
    "violationCount": {
      "description": "Policy violations recorded",
      "minimum": 0,
      "type": "integer"
    },
    "voteCount": {
      "description": "Votes cast",
      "minimum": 0,
      "type": "integer"
    },
    "warningCount": {
      "description": "Moderation warnings received",
      "minimum": 0,
      "type": "integer"
    },
    "wellEndorsedEprintCount": {
      "description": "Eprints with substantial endorsements",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "did",
    "accountCreatedAt",
    "accountAgeDays",
    "eprintCount",
    "wellEndorsedEprintCount",
    "totalEndorsements",
    "proposalCount",
    "voteCount",
    "successfulProposals",
    "warningCount",
    "violationCount",
    "reputationScore",
    "role",
    "eligibleForTrustedEditor",
    "missingCriteria"
  ],
  "type": "object"
}

Lexicon Garden

@