我应该如何使用“我应该如何使用”;“个人访问代币”;MindMeister API?

我应该如何使用“我应该如何使用”;“个人访问代币”;MindMeister API?,api,rest,api-key,mindmapping,api-authorization,Api,Rest,Api Key,Mindmapping,Api Authorization,关于MindMeister API的认证,有三种类型: API密钥 OAuth2.0应用程序 个人访问令牌 我想使用第三个,它解释了下一个: 个人访问令牌 个人访问令牌允许通过API直接访问您的MindMeister帐户,而无需OAuth 2.0应用程序或API密钥 我创建了一个,并使用它来执行API调用,但出现错误99: {"rsp":{"stat":"fail","err":{"code":&

关于MindMeister API的认证,有三种类型:

  • API密钥
  • OAuth2.0应用程序
  • 个人访问令牌
  • 我想使用第三个,它解释了下一个:

    个人访问令牌

    个人访问令牌允许通过API直接访问您的MindMeister帐户,而无需OAuth 2.0应用程序或API密钥

    我创建了一个,并使用它来执行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”测试此方法

    这是文档,但与“个人访问令牌”无关

    我的请求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>
    
    https://www.mindmeister.com/services/rest?api_key=&auth_token=&method=mm.auth.checkToken&response_format=json&api_sig=
    

    我不知道如何使用此API功能,因此我想知道这一点,请帮助我。

    不幸的是,此功能尚未包含在MindMeister API文档中

    使用以下url使用个人访问令牌访问api:

    https://www.mindmeister.com/services/rest/oauth2?access_token=<access_token>&method=<method>
    
    https://www.mindmeister.com/services/rest/oauth2?access_token=&method=
    

    在OAuth2.0的情况下,您不再需要对请求进行签名,也不必发送api密钥。只需发送一个有效的访问令牌、方法名称及其所需参数。

    我刚刚测试过,它可以工作!非常感谢你的帮助!