创建发布者驱动程序元数据

在Microsoft硬件 API 中使用此方法为与你共享的提交创建发布服务器驱动程序元数据。 无法为收件箱或系统提交创建发布者驱动程序元数据。 若要了解有关驱动程序元数据包的详细信息,请参阅 “驱动程序包元数据 ”页。

Prerequisites

If you have not done so already, complete all the prerequisites for the Microsoft Hardware APIs before trying to use any of these methods.

Request

此方法具有以下语法。 有关标头和请求正文的使用示例和说明,请参阅以下部分。

Method Request URI
POST https://manage.devcenter.microsoft.com/v2.0/my/hardware/products/{productID}/submissions/{submissionID}/createpublishermetadata

Request header

Header 类型 Description
Authorization String Required. The Microsoft Entra ID access token in the form Bearer<token>.
accept String Optional. 指定内容类型。 允许的值为“application/json”

Request parameters

不要为此方法提供请求参数。

Request body

请勿为此方法提供请求正文。

Request examples

以下示例演示如何为提交创建发布者驱动程序元数据。

POST https://manage.devcenter.microsoft.com/v2.0/my/hardware/products/14631253285588838/submissions/1152921504621465124/createpublishermetadata HTTP/1.1
Authorization: Bearer <your access token>

Response

Response body

响应将为空,HTTP 状态为 202。

完成此步骤后,请允许数小时完成发布者驱动程序元数据的创建。 然后使用该方法 获取提交详细信息 来获取发布者驱动程序元数据文件的链接。

Error codes

For more info, see Error codes.

See also

硬件仪表板 API 示例 (GitHub)