-
Notifications
You must be signed in to change notification settings - Fork 573
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* spec out new simple pds mod routes * introduce new admin state endpoints * wire up routes * clean up pds * revoke refresh tokens * getUserAccountInfo * pr tidy * fixing some tests * fixing up more tests * fanout takedowns to pds * fanout admin reqs to pds * tidy * more tidy & add more pds moderation tests * getUserAccountInfo -> getAccountInfo * dont hydrate pds info on searchRepos * fix build * port admin tests to bsky package * clean up old snaps * tests on fanout * tweak naming * missed a rename * tidy renames * fix lex name * tidy & move snap * fix build * cleanup repeat process all * skip actor search test * fix bday paradox * tidy up pds service auth * rm skipped test * retry http * tidy * improve fanout error handling * fix test * return signing key in did-web * more tests * tidy serivce auth checks * change takedownId col to takedownRef * build branch * fix bsky test * add service key to indexer * move signing key to api entry * dont build
- Loading branch information
Showing
117 changed files
with
3,025 additions
and
3,473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "com.atproto.admin.getAccountInfo", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "View details about an account.", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["did"], | ||
"properties": { | ||
"did": { "type": "string", "format": "did" } | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "ref", | ||
"ref": "com.atproto.admin.defs#accountView" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "com.atproto.admin.getSubjectStatus", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Fetch the service-specific the admin status of a subject (account, record, or blob)", | ||
"parameters": { | ||
"type": "params", | ||
"properties": { | ||
"did": { "type": "string", "format": "did" }, | ||
"uri": { "type": "string", "format": "at-uri" }, | ||
"blob": { "type": "string", "format": "cid" } | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["subject"], | ||
"properties": { | ||
"subject": { | ||
"type": "union", | ||
"refs": [ | ||
"com.atproto.admin.defs#repoRef", | ||
"com.atproto.repo.strongRef", | ||
"com.atproto.admin.defs#repoBlobRef" | ||
] | ||
}, | ||
"takedown": { | ||
"type": "ref", | ||
"ref": "com.atproto.admin.defs#statusAttr" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "com.atproto.admin.updateSubjectStatus", | ||
"defs": { | ||
"main": { | ||
"type": "procedure", | ||
"description": "Update the service-specific admin status of a subject (account, record, or blob)", | ||
"input": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["subject"], | ||
"properties": { | ||
"subject": { | ||
"type": "union", | ||
"refs": [ | ||
"com.atproto.admin.defs#repoRef", | ||
"com.atproto.repo.strongRef", | ||
"com.atproto.admin.defs#repoBlobRef" | ||
] | ||
}, | ||
"takedown": { | ||
"type": "ref", | ||
"ref": "com.atproto.admin.defs#statusAttr" | ||
} | ||
} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["subject"], | ||
"properties": { | ||
"subject": { | ||
"type": "union", | ||
"refs": [ | ||
"com.atproto.admin.defs#repoRef", | ||
"com.atproto.repo.strongRef", | ||
"com.atproto.admin.defs#repoBlobRef" | ||
] | ||
}, | ||
"takedown": { | ||
"type": "ref", | ||
"ref": "com.atproto.admin.defs#statusAttr" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.