MindMeister API の認証については、次の 3 種類があります。
- API キー
- OAuth 2.0 アプリ
- パーソナル アクセス トークン
3番目のものを使用したいのですが、次の説明があります:
個人用アクセス トークン
パーソナル アクセス トークンを使用すると、OAuth 2.0 アプリや API キーを必要とせずに、API を介して MindMeister アカウントに直接アクセスできます。
1 つ作成し、それを使用して API 呼び出しを実行しましたが、エラー 99 が発生します。
{"rsp":{"stat":"fail","err":{"code":"99","msg":"The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions."}}}
このメソッド「mm.auth.checkToken」をテストしてみました
ここにMindMeister API Developersのドキュメントがありますが、「個人アクセストークン」に関連するものは何もありません。
私のリクエスト URL は次のようになります。
https://www.mindmeister.com/services/rest?api_key=<api_key_code>&auth_token=<personal_token>&method=mm.auth.checkToken&response_format=json&api_sig=<md5 hash of the sign>
このAPI機能の使い方がわからないので知りたいので教えてください。