Share via


Updates - Get Versions

Belirtilen sağlayıcı ve adla eşleşen tüm güncelleştirme sürümlerinin listesini alın.

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

URI Parametreleri

Name İçinde Gerekli Tür Description
accountEndpoint
path True

string

Hesap uç noktası.

instanceId
path True

string

Hesap örneği tanımlayıcısı.

name
path True

string

Adı güncelleştirin.

provider
path True

string

Sağlayıcıyı güncelleştirin.

Yanıtlar

Name Tür Description
200 OK

PageableListOfStrings

Belirtilen sağlayıcı ve adla eşleşen tüm güncelleştirme sürümleri veya yoksa boş liste.

404 Not Found

Bulunamadı.

429 Too Many Requests

Çok fazla istek var; bir süre içinde kaç işlemin yürütülebileceğine ilişkin bir hız sınırı vardır.

Güvenlik

azure_auth_implicit

Azure Active Directory OAuth2 Örtük Akışı

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

azure_auth_code

Azure Active Directory OAuth2 AccessCode Akışı

Type: oauth2
Flow: accessCode
Authorization URL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

azure_auth_application

Azure Active Directory OAuth2 Uygulama Akışı

Type: oauth2
Flow: application
Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

Scopes

Name Description
.default istemci kimlik bilgisi kapsamı

azure_auth_password

Azure Active Directory OAuth2 Parola Akışı

Type: oauth2
Flow: password
Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

Updates_GetVersions

Sample Request

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

Sample Response

{
  "value": [
    "1.0.0.0",
    "1.0.0.1"
  ]
}

Tanımlar

PageableListOfStrings

Sunucu disk belleği desteğine sahip dizelerin listesi.

Name Tür Description
nextLink

string

Öğelerin sonraki sayfasına bağlantı.

value

string[]

Sayfalanabilir öğeler koleksiyonu.