games.gamesgamesgamesgames.getContributionStats

Get contribution statistics and badges for a user.

Details · query
Kindquery
Authoritygamesgamesgamesgames.games
Indexed
cid bafyreidus3jbwccf6qe44fc7pqwo7dyeaf6ik6qdgrpg2lf5332f4fhosa

Checks

Valid
  • unlimited-string defs.badge.properties.descriptionNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.badge.properties.idNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.badge.properties.nameNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "badge": {
      "properties": {
        "description": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "contributionStats": {
      "properties": {
        "additions": {
          "type": "integer"
        },
        "corrections": {
          "type": "integer"
        },
        "newGames": {
          "type": "integer"
        },
        "ownerAccepted": {
          "type": "integer"
        },
        "totalContributions": {
          "type": "integer"
        },
        "uniqueEntities": {
          "type": "integer"
        }
      },
      "required": [
        "totalContributions",
        "corrections",
        "additions",
        "newGames",
        "uniqueEntities",
        "ownerAccepted"
      ],
      "type": "object"
    },
    "main": {
      "description": "Get contribution statistics and badges for a user.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "badges": {
              "items": {
                "ref": "#badge",
                "type": "ref"
              },
              "type": "array"
            },
            "stats": {
              "ref": "#contributionStats",
              "type": "ref"
            }
          },
          "required": [
            "stats",
            "badges"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "games.gamesgamesgamesgames.getContributionStats",
  "lexicon": 1
}