获取提交内的特定资源Get a specific asset within a submission

重要提示 截至 2016 年 10 月底,将不再提供可使用的仪表板提交 REST API。Important The dashboard submission REST APIs will no longer be available for use as of the end of October 2016. 正在考虑为将来版本提供适用于驱动程序提交的 API。APIs for driver submissions are under consideration for a future release.

返回与你的设备请求相关联的特定资源。Returns a specified asset associated with your device request. 使用它获取经签名的文件、证书验证报告和设备请求的 DUA Shell 程序包。Use this to get signed files, certificate validation reports, and DUA shell packages for a device request.

请求Request

输入参数Input parameter

参数Parameter 说明Description 位置Location 是否为必需?Required? 如果未提供,则为默认值Default if not provided

RequestIDRequestID

要从中检索资源的仪表板提交对象 的标识符。Identifier of the Dashboard submission objects that you want to retrieve the asset from.

URLURL

Yes

不适用Not applicable

AssetIDAssetID

要检索的仪表板提交对象 的标识符。The identifier of the Dashboard submission objects that you want to retrieve.

URLURL

Yes

不适用Not applicable

示例请求Example request

方法Method 请求 URIRequest URI

GETGET

https://devicesigningservice.cloudapp.net/api/signing/devices/<RequestID>/assets/<AssetIDhttps://devicesigningservice.cloudapp.net/api/signing/devices/<RequestID>/assets/<AssetID>

响应Response

响应参数Response parameter

参数Parameter 说明Description 位置Location 在任务栏的搜索框中键入Type

SigningRequestInfoSigningRequestInfo

用于下载资源的 Azure 存储安全 URIThe Azure Storage secure URI for downloading the asset.

LocationheaderLocationheader

URLURL

资源Asset

要下载的资源。The asset to download.

正文Body

资源Asset

状态代码Status code

200.200
200 - 正常200 - OK

400.400
400 - 错误请求。400 – Bad Request.

404 - 未找到。404 – Not Found.

401 - 未授权。401 – Not Authorized.

示例响应Example response

{
{
 "DeviceSigningAssetID" : "4e53d41f-4ccc-481c-bd00-0f73400f5d6a",
 "Name" : "contoso_toaster.hckx",
 "AssetType" : 1
},
“SharedAccessSignatureUri”:http://assetservice.blob.core.windows.net/functional17202312e9e54a5da5549d3a91b51119/Contoso/Input/3aaf936f-fdd6-46ae-8378-1fb4e94b64bf.pfx?st=2014-07-25T16%3A58%3A49Z&se=2014-07-25T17%3A58%3A49Z&sr=c&sp=r&sig=K1LTkl2eZxaiR6SIhIj5Vqb7SIJGHHiC4R98s8jOYa0%3D}

向 Microsoft 发送有关该主题的评论Send comments about this topic to Microsoft