From
bafyreigjdg76jekuko2tilg2dvqkljyziuwgxbbzisjmi6p6yz3lfjr3ui
indexed 2026-10-28 21:21 UTC
View this version
To
bafyreicujvln3dxtacvazcr4562xyhawur5lnpublbs73wstz6l2ycy4f4
indexed 2026-11-04 13:31 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"email": {55
"description": "An address, as git authors commits with it.",66
"properties": {77
"email": {88
"description": "The address. Case and spaces around it do not count.",99
"maxLength": 320,1010
"type": "string"1111
}1212
},1313
"required": [1414
"email"1515
],1616
"type": "object"1717
},1818
"emailState": {1919
"description": "What claiming an address, or taking the claim back, did.",2020
"properties": {2121
"changed": {2222
"description": "Whether it changed anything: false for an address claimed already, or, taken back, never claimed.",2323
"type": "boolean"2424
},2525
"count": {2626
"description": "How many addresses the account claims now.",2727
"minimum": 0,2828
"type": "integer"2929
}3030
},3131
"required": [3232
"changed",3333
"count"3434
],3535
"type": "object"3636
},3737
"main": {38
"description": "Adds the address's hash to the dev.knotless.emails record of the account logged in to this appview's web pages, as `knotless email add` does, so commits authored with it show as the account's on repositories it owns or pushes to. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account.",38
"description": "Adds the address's hash to the dev.knotless.emails record of the account logged in to this appview's web pages, as `knotless account email add` does, so commits authored with it show as the account's on repositories it owns or pushes to. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account.",3939
"errors": [4040
{4141
"description": "No email address.",4242
"name": "InvalidRequest"4343
},4444
{4545
"description": "No account is logged in to the pages, or its session has ended.",4646
"name": "AuthenticationRequired"4747
}4848
],4949
"input": {5050
"encoding": "application/json",5151
"schema": {5252
"ref": "#email",5353
"type": "ref"5454
}5555
},5656
"output": {5757
"encoding": "application/json",5858
"schema": {5959
"ref": "#emailState",6060
"type": "ref"6161
}6262
},6363
"type": "procedure"6464
}6565
},6666
"description": "Claims an email address as the account logged in to this appview's pages.",6767
"id": "dev.knotless.addEmail",6868
"lexicon": 16969
}