-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Account deletion #488
Account deletion #488
Changes from 90 commits
7a0aa9a
6129e36
f6e8b9f
4f369f5
fb679e4
ab06c1e
a6cf302
de0ed28
1397b52
98f43e2
32262cc
814f5fe
a5e2e8e
1497d05
432d53c
68bff2a
6a983e4
abc3fec
d66751f
f03605c
5ccbfaf
3ad85db
a21fb66
11241b2
f1e5ed8
7a287f1
380ef96
32a21ab
d643250
69be03f
b55f9d4
4523cad
6b11ba4
a5c913f
dfc887c
f9fd8a2
8e7131d
d6cd794
fe109c6
a1ed8c3
fdd60f7
87abad4
473bc92
0781d90
9f25a26
8c1e9d5
11970ef
cff5b63
b9b83d0
c37082a
6e58a0f
3269ad6
b8cfb78
156b332
4953189
716fb8b
f647640
00590c7
423b6ab
c3dc0b3
277e4a8
72cef57
7d271b5
bac84ce
62355f4
265b278
08db20e
98ba390
3f04e32
281bd7e
fed8d9e
7d8a82e
f55e443
2837034
aab057f
aba06d3
a39c8bc
19c03d5
c98059b
94b499e
deb9740
c5adea4
fb5f565
af6fef6
d513c4b
f33ea0e
8e93735
54c4373
4d4a0c7
d409acb
d76d577
2125fa4
96493bc
a35eecb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,20 @@ | |
"defs": { | ||
"main": { | ||
"type": "procedure", | ||
"description": "Delete an account." | ||
"description": "Delete a user account with a token and password.", | ||
"input": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["handle", "password", "token"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Check out #492— should we switch There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmmm probably... altho actually, maybe it makes more sense to do There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. btw ended up switching out for |
||
"properties": { | ||
"handle": { "type": "string" }, | ||
"password": { "type": "string" }, | ||
"token": { "type": "string" } | ||
} | ||
} | ||
}, | ||
"errors": [{ "name": "ExpiredToken" }, { "name": "InvalidToken" }] | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "com.atproto.account.requestDelete", | ||
"defs": { | ||
"main": { | ||
"type": "procedure", | ||
"description": "Initiate a user account deletion via email." | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "com.atproto.sync.getCheckout", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Gets the repo state.", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["did"], | ||
"properties": { | ||
"did": {"type": "string", "description": "The DID of the repo."}, | ||
"commit": {"type": "string", "description": "The commit to get the checkout from. Defaults to current HEAD."} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/vnd.ipld.car" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "com.atproto.sync.getCommitPath", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Gets the path of repo commits", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["did"], | ||
"properties": { | ||
"did": {"type": "string", "description": "The DID of the repo."}, | ||
"latest": { "type": "string", "description": "The most recent commit"}, | ||
"earliest": { "type": "string", "description": "The earliest commit to start from"} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["commits"], | ||
"properties": { | ||
"commits": { | ||
"type": "array", | ||
"items": { "type": "string" } | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "com.atproto.sync.getRecord", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Gets blocks needed for existence or non-existence of record.", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["did", "collection", "rkey"], | ||
"properties": { | ||
"did": {"type": "string", "description": "The DID of the repo."}, | ||
"collection": {"type": "string" }, | ||
"rkey": {"type": "string" }, | ||
"commit": {"type": "string", "description": "An optional past commit CID."} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/vnd.ipld.car" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
} | ||
}, | ||
"output": { | ||
"encoding": "application/cbor" | ||
"encoding": "application/vnd.ipld.car" | ||
} | ||
} | ||
} | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requires re-entering password & as such does not require any auth