【问题标题】:Is there a way to get an existing token for a user using the /tokens resource?有没有办法使用 /tokens 资源为用户获取现有令牌?
【发布时间】:2013-01-02 21:09:28
【问题描述】:

是否可以使用“/tokens”资源为用户获取现有令牌?

目前,如果存在令牌,则 POST 会返回 409:

请求: 发布https://api.box.com/2.0/tokens 正文:{"email":"some-email-a-token-exist-for@email.com"}

回应: {"type":"error","status":409,"code":"conflict","help_url":"http://developers.box.com/docs/#errors","message":"Token已经存在","re​​quest_id":"1568559050e4a10f78f66"}

我想做的是发出 GET 请求以检索现有令牌。

【问题讨论】:

    标签: box-api


    【解决方案1】:

    您知道,/tokens 端点仍处于测试阶段。尽管 Box 在 12 月以 GA 形式发布了 V2 API 的其余部分,但该端点仍在开发中。我们正在与一些开发人员合作,以确保我们获得易于使用且安全的“即时访问”机制。

    如果您想加入我们的 /tokens 咨询小组,请通过 api (at) box.com 告诉我们。

    【讨论】:

      猜你喜欢
      • 2023-03-29
      • 2020-03-02
      • 1970-01-01
      • 1970-01-01
      • 2017-04-07
      • 2021-12-22
      • 1970-01-01
      • 2018-07-27
      • 1970-01-01
      相关资源
      最近更新 更多