Aracılığıyla paylaş


Permissions - List

Uygulamanıza erişim izinleri olan kullanıcı e-postalarının listesini alır.

GET {Endpoint}/luis/api/v2.0/apps/{appId}/permissions

URI Parametreleri

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

string (uuid)

Uygulama kimliği.

Endpoint
path True

string

Desteklenen Bilişsel Hizmetler uç noktaları (protokol ve konak adı, örneğin: https://westus.api.cognitive.microsoft.com).

İstek Başlığı

Name Gerekli Tür Description
Ocp-Apim-Subscription-Key True

string

Yanıtlar

Name Tür Description
200 OK

UserAccessList

Liste tek bir sahip içerir. Tüm ortak çalışanlar e-posta dizisinde listelenir.

Other Status Codes

ErrorResponse

Hata Yanıtı.

Güvenlik

Ocp-Apim-Subscription-Key

Tür: apiKey
İçinde: header

Örnekler

Successful Get Application User Access List

Örnek isteği

GET {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/permissions

Örnek yanıt

{
  "owner": "owner@email.com",
  "emails": [
    "yourname@outlook.com"
  ]
}

Tanımlar

Name Description
ErrorResponse

API'de bir işlem çağrılırken hata yanıtı.

UserAccessList

Kullanıcı izinlerinin listesi.

ErrorResponse

API'de bir işlem çağrılırken hata yanıtı.

Name Tür Description
errorType

string

UserAccessList

Kullanıcı izinlerinin listesi.

Name Tür Description
emails

string[]

owner

string

Uygulamanın sahibinin e-posta adresi.