共用方式為


Updates - Get Files

取得指定版本的所有更新檔案識別符清單。

GET https://{accountEndpoint}/deviceupdate/{instanceId}/v2/updates/providers/{provider}/names/{name}/versions/{version}/files

URI 參數

名稱 位於 必要 類型 Description
accountEndpoint
path True

string

帳戶端點。

instanceId
path True

string

帳戶實例標識碼。

name
path True

string

更新名稱。

provider
path True

string

更新提供者。

version
path True

string

更新版本。

回應

名稱 類型 Description
200 OK

PageableListOfStrings

指定版本的所有更新檔案識別碼。

404 Not Found

找不到。

429 Too Many Requests

要求太多;在一段時間內可以執行多少個作業有速率限制。

安全性

azure_auth_implicit

Azure Active Directory OAuth2 隱含流程

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

azure_auth_code

Azure Active Directory OAuth2 AccessCode Flow

類型: oauth2
Flow: accessCode
授權 URL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
權杖 URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

azure_auth_application

Azure Active Directory OAuth2 應用程式流程

類型: oauth2
Flow: application
權杖 URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

範圍

名稱 Description
.default 用戶端認證範圍

azure_auth_password

Azure Active Directory OAuth2 密碼流程

類型: oauth2
Flow: password
權杖 URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

Updates_GetFiles

範例要求

GET https://contoso.api.adu.microsoft.com/deviceupdate/blue/v2/updates/providers/microsoft/names/adu/versions/1.0.0.0/files

範例回覆

{
  "value": [
    "abc123",
    "def456"
  ]
}

定義

PageableListOfStrings

具有伺服器分頁支援的字串清單。

名稱 類型 Description
nextLink

string

專案下一頁的連結。

value

string[]

可分頁專案的集合。