From 2efc3bfaf79884da8cc5b69e527c385cdb26525e Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 20 Sep 2024 09:10:15 +0000 Subject: [PATCH] =?UTF-8?q?atproto=20=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- atproto.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/atproto.md b/atproto.md index 201fc2a..7e95c23 100644 --- a/atproto.md +++ b/atproto.md @@ -36,6 +36,15 @@ url=$api/com.atproto.repo.getRecord curl -sL "$url?repo=$did&collection=$collection&rkey=$rkey&cid="|jq . ``` +## did + +```sh +handle=yui.syui.ai +curl -sL "https://public.api.bsky.app/xrpc/com.atproto.identity.resolveHandle?handle=$handle" + +{"did":"did:plc:4hqjfn7m6n5hno3doamuhgef"} +``` + ## login ```sh