Collections - Get Collection Path
Mendapatkan nama induk dan rantai nama bersahabat induk yang mewakili jalur koleksi.
GET {endpoint}/collections/{collectionName}/getCollectionPath?api-version=2019-11-01-preview
Parameter URI
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
collection
|
path | True |
|
|
|
endpoint
|
path | True |
|
Titik akhir akun akun Purview Anda. Contoh: https://{accountName}.purview.azure.com/account/ |
|
api-version
|
query | True |
|
Versi api yang akan digunakan. |
Respons
| Name | Type | Description |
|---|---|---|
| 200 OK |
Berhasil |
|
| Other Status Codes |
Respons kesalahan diterima dari penyedia. |
Keamanan
azure_auth
Azure Active Directory Flow OAuth2.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | meniru akun pengguna Anda |
Contoh
Collections_GetCollectionPath
Sample Request
GET {endpoint}/collections/myCollection1/getCollectionPath?api-version=2019-11-01-preview
Sample Response
Date: Wed, 13 Sep 2017 18:04:32 GMT
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
X-Content-Type-Options: nosniff
x-ms-correlation-request-id: 25c78f97-0b0a-4fe9-ad39-883a482265cd
{
"parentNameChain": [
"account1",
"parent1"
],
"parentFriendlyNameChain": [
"Test account friendly name",
"parent1"
]
}
Definisi
|
Collection |
Sumber daya koleksi. |
| Error |
Mendapatkan atau mengatur kesalahan. |
|
Error |
Model kesalahan default |
|
Error |
Model respons kesalahan default |
CollectionPathResponse
Sumber daya koleksi.
| Name | Type | Description |
|---|---|---|
| parentFriendlyNameChain |
|
Nama-nama leluhur yang mudah diingat dimulai dari koleksi default (root) dan diakhbungkan dengan induk langsung. |
| parentNameChain |
|
Nama-nama leluhur dimulai dari koleksi default (root) dan diakhbungkan dengan induk langsung. |
Error
Mendapatkan atau mengatur kesalahan.
| Name | Type | Description |
|---|---|---|
| code |
|
Mendapatkan atau mengatur kode. |
| details |
Mendapatkan atau mengatur detailnya. |
|
| message |
|
Mendapatkan atau mengatur pesan. |
| target |
|
Mendapatkan atau menetapkan target. |
ErrorModel
Model kesalahan default
| Name | Type | Description |
|---|---|---|
| code |
|
Mendapatkan atau mengatur kode. |
| details |
Mendapatkan atau mengatur detailnya. |
|
| message |
|
Mendapatkan atau mengatur pesan. |
| target |
|
Mendapatkan atau menetapkan target. |
ErrorResponseModel
Model respons kesalahan default
| Name | Type | Description |
|---|---|---|
| error |
Mendapatkan atau mengatur kesalahan. |