@tateisu @mayaeh こんな感じで。
https://github.com/dtp-mstdn-jp/mastodon/pull/194/commits/fbd57f3a0e19aaf83edb705d83fb3b0e41315f5f
curl -X GET -H "Authorization: Bearer $ACCESS_TOKEN" -sS $INSTANCE/api/v1/accounts/verify_credentials
{"error":"Email confirmation is not completed"}
@tateisu @mayaeh 違うメッセージを出すようにはしたけど、アプリから判別して処理を分けるのに必要な情報にはなっていないよね。翻訳されるだろうし。
403を返すの一緒だし。
何を返したらいいんだろ?