full diff

dev.knotless.getActorActivity

From
bafyreibxcyysuf3mrdtoqdelxvw6inh3m54kdgaehvwk6fdsf7ee6n6r5u indexed 2026-10-28 21:21 UTC View this version
To
bafyreibskpgthejiykke457heusnxytcnwitzswu5enelufe6zp762rcva indexed 2026-11-08 22:46 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "dayView": {
55 "description": "What the account did on one day.",
66 "properties": {
77 "comments": {
88 "description": "Comments it wrote.",
99 "minimum": 0,
1010 "type": "integer"
1111 },
1212 "day": {
1313 "description": "The date in `tz`, as YYYY-MM-DD.",
1414 "type": "string"
1515 },
1616 "issues": {
1717 "description": "Issues it opened.",
1818 "minimum": 0,
1919 "type": "integer"
2020 },
2121 "pulls": {
2222 "description": "Pulls it opened.",
2323 "minimum": 0,
2424 "type": "integer"
2525 },
2626 "pushes": {
2727 "description": "Refs it moved, made or deleted, one for each claim.",
2828 "minimum": 0,
2929 "type": "integer"
3030 },
3131 "repos": {
3232 "description": "Repositories it made.",
3333 "minimum": 0,
3434 "type": "integer"
3535 }
3636 },
3737 "required": [
3838 "day"
3939 ],
4040 "type": "object"
4141 },
4242 "main": {
43 "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.",
43 "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 needed; asked with a service token or the pages' session cookie by the account itself, or by a member of its private repositories, those it may read are among `repos` too, and the answer is the asker's alone.",
4444 "output": {
4545 "encoding": "application/json",
4646 "schema": {
4747 "properties": {
4848 "days": {
4949 "description": "Oldest first.",
5050 "items": {
5151 "ref": "#dayView",
5252 "type": "ref"
5353 },
5454 "type": "array"
5555 },
5656 "repos": {
5757 "description": "Each of the account's repositories ever pushed to, by name.",
5858 "items": {
5959 "ref": "#repoActivity",
6060 "type": "ref"
6161 },
6262 "type": "array"
6363 }
6464 },
6565 "required": [
6666 "days",
6767 "repos"
6868 ],
6969 "type": "object"
7070 }
7171 },
7272 "parameters": {
7373 "properties": {
7474 "actor": {
7575 "description": "The account.",
7676 "format": "did",
7777 "type": "string"
7878 },
7979 "since": {
8080 "description": "The first day counted is the one this falls on in `tz`; a year before now if not given.",
8181 "format": "datetime",
8282 "type": "string"
8383 },
8484 "tz": {
8585 "description": "The IANA time zone whose days are counted, as `America/New_York`; UTC if not given or not known.",
8686 "maxLength": 64,
8787 "type": "string"
8888 }
8989 },
9090 "required": [
9191 "actor"
9292 ],
9393 "type": "params"
9494 },
9595 "type": "query"
9696 },
9797 "repoActivity": {
9898 "description": "The pushes to one of the account's repositories.",
9999 "properties": {
100100 "days": {
101101 "description": "The days since `since` it was pushed to, oldest first.",
102102 "items": {
103103 "ref": "#repoDay",
104104 "type": "ref"
105105 },
106106 "type": "array"
107107 },
108108 "name": {
109109 "description": "The repository's name: its record key.",
110110 "type": "string"
111111 },
112112 "pushedAt": {
113113 "description": "When it was last pushed to, ever.",
114114 "format": "datetime",
115115 "type": "string"
116116 }
117117 },
118118 "required": [
119119 "name",
120120 "pushedAt",
121121 "days"
122122 ],
123123 "type": "object"
124124 },
125125 "repoDay": {
126126 "description": "The pushes to a repository on one day.",
127127 "properties": {
128128 "day": {
129129 "description": "The date in `tz`, as YYYY-MM-DD.",
130130 "type": "string"
131131 },
132132 "pushes": {
133133 "description": "Refs moved, made or deleted.",
134134 "minimum": 1,
135135 "type": "integer"
136136 }
137137 },
138138 "required": [
139139 "day",
140140 "pushes"
141141 ],
142142 "type": "object"
143143 }
144144 },
145145 "description": "How much an account did on each day, as an appview has indexed it.",
146146 "id": "dev.knotless.getActorActivity",
147147 "lexicon": 1
148148}

Compare other versions