dev.knotless.getActorActivity

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "dayView": {
      "description": "What the account did on one day.",
      "properties": {
        "comments": {
          "description": "Comments it wrote.",
          "minimum": 0,
          "type": "integer"
        },
        "day": {
          "description": "The date in `tz`, as YYYY-MM-DD.",
          "type": "string"
        },
        "issues": {
          "description": "Issues it opened.",
          "minimum": 0,
          "type": "integer"
        },
        "pulls": {
          "description": "Pulls it opened.",
          "minimum": 0,
          "type": "integer"
        },
        "pushes": {
          "description": "Refs it moved, made or deleted, one for each claim.",
          "minimum": 0,
          "type": "integer"
        },
        "repos": {
          "description": "Repositories it made.",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "day"
      ],
      "type": "object"
    },
    "main": {
      "description": "How much an account did on each day since a time, by kind, as an appview has indexed it, and its repositories' pushes: when each was last pushed to, and how often on each of those days. Days are dates in the zone `tz`, and only days with something done are listed. Repositories and accounts taken down count for nothing. No authentication; responses are not personalized.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "days": {
              "description": "Oldest first.",
              "items": {
                "ref": "#dayView",
                "type": "ref"
              },
              "type": "array"
            },
            "repos": {
              "description": "Each of the account's repositories ever pushed to, by name.",
              "items": {
                "ref": "#repoActivity",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "days",
            "repos"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "The account.",
            "format": "did",
            "type": "string"
          },
          "since": {
            "description": "The first day counted is the one this falls on in `tz`; a year before now if not given.",
            "format": "datetime",
            "type": "string"
          },
          "tz": {
            "description": "The IANA time zone whose days are counted, as `America/New_York`; UTC if not given or not known.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "repoActivity": {
      "description": "The pushes to one of the account's repositories.",
      "properties": {
        "days": {
          "description": "The days since `since` it was pushed to, oldest first.",
          "items": {
            "ref": "#repoDay",
            "type": "ref"
          },
          "type": "array"
        },
        "name": {
          "description": "The repository's name: its record key.",
          "type": "string"
        },
        "pushedAt": {
          "description": "When it was last pushed to, ever.",
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "name",
        "pushedAt",
        "days"
      ],
      "type": "object"
    },
    "repoDay": {
      "description": "The pushes to a repository on one day.",
      "properties": {
        "day": {
          "description": "The date in `tz`, as YYYY-MM-DD.",
          "type": "string"
        },
        "pushes": {
          "description": "Refs moved, made or deleted.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "day",
        "pushes"
      ],
      "type": "object"
    }
  },
  "description": "How much an account did on each day, as an appview has indexed it.",
  "id": "dev.knotless.getActorActivity",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.getActorActivity

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreibxcyysuf3mrdtoqdelxvw6inh3m54kdgaehvwk6fdsf7ee6n6r5u
Indexed At
2026-10-28 21:21 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.getActorActivity

Similar Lexicons

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

  • What happened on the public repositories an appview has indexed, newest first.

  • What an appview shows anyone of how it is used: the network as its index has it now, and each of the last 30 days, what the network wrote in it and how many people drew its pages (by a hash forgotten each day). Its oper…

  • The repositories an account holds, read from its PDS.

Lexicon Garden

@