python - 盒子企业API : Where do my files "live"?

标签 python box-api box

我有一个 Box Enterprise 帐户,并且启用了 Box 开发者功能。我能够创建一个 Box 开发人员应用程序,创建必要的身份验证,并将其用于非常简单的 Python 脚本,使用 SDK 创建文件夹、上传文件等。

但是,当我登录到我的 Box 帐户时,这些文件不存在,并且从 Python 中调用 API 时我也无法看到我的 Box 帐户中的其他文件。这个空间在哪里,我可以通过常规 Box 登录来访问它吗?

从 API 中,我可以进行调用来查看我所在的位置,但我不认识这个空间:

根文件夹所有者:AutomationUser_[string]@boxdevedition.com

根文件夹名称:所有文件

client.user(user_id='me').get().name:[我的应用程序名称,在我的 Box 开发控制台中]

最佳答案

每当在 Box 开发者控制台中创建新应用程序时,都会出现 Service Accountcreated .

Service Accounts are not visible to standard Box Users as they do not represent an individual user, but rather an application. To view the content of a Service Account, an Administrator can use the Global Content Manager in the Box Admin Console to view the Service Account and all of its associated content.

要查看服务帐户的内容,

  1. 来自 https://app.box.com/ ,在左侧边栏中,转到“管理控制台”。 (Image)
  2. 转到内容管理器(第三个选项卡 - 文件夹图标 - https://app.box.com/master/content )。您将找到其中列出的服务帐户,您可以从中查看其内容。 (Image)

关于python - 盒子企业API : Where do my files "live"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48722548/

相关文章:

ios - Box api 编辑文件

c# - 如何为我的 JWT 创建签名?

html - Bootstrap/网格系统/CSS 解决方法

java - 无法使用 JWT 将文件上传到盒子 - curl : (26) failed creating formpost data

python - 运行 cp 命令来复制文件或在 Python 中更改文件名

Python,结合长构建器路径和注释

python - 解析从 xlrd.Book 对象中的单元格读取的 unicode 字符串

python - 跟踪玩家健康基于文本的游戏 - Python

android - 使用 proguard : java. lang.IncompatibleClassChangeError 和 java.lang.NoSuchMethodError 的 Gradle 发布版本

java - 在android中顺序上传文件更安全/更好还是用多个线程同时上传文件更好?