atproto blogging
at main 42 lines 851 B view raw
1{ 2 "lexicon": 1, 3 "id": "com.atproto.server.confirmEmail", 4 "defs": { 5 "main": { 6 "type": "procedure", 7 "description": "Confirm an email using a token from com.atproto.server.requestEmailConfirmation.", 8 "input": { 9 "encoding": "application/json", 10 "schema": { 11 "type": "object", 12 "required": [ 13 "email", 14 "token" 15 ], 16 "properties": { 17 "email": { 18 "type": "string" 19 }, 20 "token": { 21 "type": "string" 22 } 23 } 24 } 25 }, 26 "errors": [ 27 { 28 "name": "AccountNotFound" 29 }, 30 { 31 "name": "ExpiredToken" 32 }, 33 { 34 "name": "InvalidToken" 35 }, 36 { 37 "name": "InvalidEmail" 38 } 39 ] 40 } 41 } 42}