API 连接器 FAQ (PowerApps)API connector FAQ (PowerApps)

要求Requirements

问:如果我不是 ISV,能否仍生成连接器?Q: If I am not an ISV, can I still build a connector?

答:根据我们的要求,必须拥有基础服务或明确拥有使用 API 的权限,才能公开发布连接器。A: To release a connector publicly, we require that you either own the underlying service or present explicit rights to use the API.

问:能否在不使用 REST API 的情况下生成连接器?Q: Can I build a connector without REST APIs?

答:不能。A: No. 你的服务必须支持稳定 HTTP REST API,才能生成 API 连接器。In order to build an API connector, you are required to support stable HTTP REST APIs for your service.

问:支持哪些身份验证类型?Q: What are the supported authentication types?

答:我们支持以下身份验证标准:A: We support the following standards of authentication:

  • OAuth2.0(包括 Azure Active Directory)OAuth2.0 (includes Azure Active Directory)
  • API 密钥API Key
  • 基本身份验证Basic Authentication

触发器Triggers

问:能否在不使用 webhook 的情况下生成触发器?Q: Can I build triggers without webhooks?

答:Microsoft Flow 和逻辑应用 API 连接器只允许生成基于 webhook 的触发器。A: API connectors for Microsoft Flow and Logic Apps allow you to build webhook-based triggers only. 若要申请采用其他实现形式,请联系 condevhelp@microsoft.com,并随附 API 的详细信息。If you have a request for other forms of implementation, please contact condevhelp@microsoft.com along with more details about your API.

其他Miscellaneous

问:我的 API 使用动态主机。Q: My APIs use a dynamic host. 如何在 OpenAPI 中实现此操作?How do I implement this in the OpenAPI?

答:API 连接器功能不支持动态主机。A: The API connector feature doesn't support dynamic hosts. 请使用静态主机进行开发和测试。Please use a static host for development and testing purposes. 提交时,请就动态实现问题咨询你的 Microsoft 联系人。During submission, talk to your Microsoft contact regarding the dynamic implementation.

问:是否支持 Postman 集合 V2?Q: Do you support Postman Collection V2?

答:否,暂不支持 Postman V2。A: No, Postman V2 is currently not supported.

问:是否支持 OpenAPI 3.0?Q: Do you support OpenAPI 3.0?

答:否,目前仅支持 OpenAPI 2.0。A: No, OpenAPI 2.0 is currently the only supported version.