仅适用于

Enterprise 和 Professional 管理员可以在 Onshape 注册新应用程序,管理应用程序并将其分发给用户,并为用户管理 API 密钥。

The steps on this page apply only to company, classroom, or enterprise administrators. Individual users should follow the the My Account Settings: Developer steps..

All applications created in the Company/Classroom/Enterprise Settings count towards the company's API Limits. All applications created in the Developer Portal count toward the individual user's API Limits.

All applications submitted to the Onshape App Store (Onshape Apps) must follow the instructions on the API Guide: OAuth2 page and use OAuth2 for authorization. Automation scripts (or applications not meant for the Onshape App Store) may use either OAuth2 or API Keys for authentication. OAuth2 allows applications to call Onshape APIs on behalf of the users of the application; API keys will only perform operations on behalf of the Onshape user who generated the API keys.

有关创建和管理 Onshape 应用程序的更多信息,请参见“Onshape 开发者文档”。

单击 Onshape 窗口右上角的用户图标(帐户用户图标),然后从下拉列表中选择“Company/Classroom/Enterprise 设置”。

在左侧窗格中单击“开发者”:

Enterprise 设置中的开发者页面

在此屏幕上,管理员可以:

  • 在 Onshape 注册新的 OAuth 应用程序

  • 与公司内的用户、别名和团队共享应用程序

  • 将经过正确身份验证的应用提交到 Onshape 应用商店

  • 查看、创建和删除公司内任何人的 API 密钥

  • View API usage for the company.

    • 请参见“API 限制”了解有关 API 使用的更多信息。
    • Click the Annual API limits for dropdown to select a different company, classroom, or enterprise.
    • 通知电子邮件按使用量的 25%、50%、75% 和 100% 发送给所有管理员。