Try   HackMD

Resonite 日記 taglineとdescriptionをAPIで設定する

今のところAPIでだけ見れるやつ

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

https://api.resonite.com/users/U-Eai

適当にプロキシかませながらアイコン画像を更新するとプロフィール更新APIが叩かれるので、それをパクってcurlとかで叩けばOK

今日(2024/02/16)時点ではこんな形なので、JSONに文字列入れてあげればできる

curl \
-H "Authorization: res U-Eai:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
-H "UID: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
-H "User-Agent: Resonite" \
-H "Content-Type: application/json; charset=utf-8" \
-H "Host: api.resonite.com" \
--data-binary "{\"iconUrl\":\"resdb:///6823eee1d9c543006347b7f886234165186472bbd06a17485d41a68029da12ad.webp\",\"tagline\":null,\"displayBadges\":[],\"description\":null}" \
-X PUT --compressed "https://api.resonite.com/users/U-Eai/profile"

以上