dev.knotless.getActorActivity

lexicons.knotless.dev

Documentation

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.

main query

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.

Parameters

actor string did Required

The account.

since string datetime Optional

The first day counted is the one this falls on in `tz`; a year before now if not given.

tz string Optional

The IANA time zone whose days are counted, as `America/New_York`; UTC if not given or not known.

Output

Encodingapplication/json
days array Required

Oldest first.

repos array Required

Each of the account's repositories ever pushed to, by name.

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
The account.
The first day counted is the one this falls on in `tz`; a year before now if not given.
The IANA time zone whose days are counted, as `America/New_York`; UTC if not given or not known.
View raw schema
{
  "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"
}
dayView object

What the account did on one day.

Properties

comments integer Optional

Comments it wrote.

minimum: 0
day string Required

The date in `tz`, as YYYY-MM-DD.

issues integer Optional

Issues it opened.

minimum: 0
pulls integer Optional

Pulls it opened.

minimum: 0
pushes integer Optional

Refs it moved, made or deleted, one for each claim.

minimum: 0
repos integer Optional

Repositories it made.

minimum: 0
View raw schema
{
  "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"
}
repoActivity object

The pushes to one of the account's repositories.

Properties

days array of ref#repoDay Required

The days since `since` it was pushed to, oldest first.

name string Required

The repository's name: its record key.

pushedAt string datetime Required

When it was last pushed to, ever.

View raw schema
{
  "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 object

The pushes to a repository on one day.

Properties

day string Required

The date in `tz`, as YYYY-MM-DD.

pushes integer Required

Refs moved, made or deleted.

minimum: 1
View raw schema
{
  "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"
}

Lexicon Garden

@