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
collectionName
path True
  • string
endpoint
path True
  • string

Titik akhir akun akun Purview Anda. Contoh: https://{accountName}.purview.azure.com/account/

api-version
query True
  • string

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

CollectionPathResponse

Sumber daya koleksi.

Error

Mendapatkan atau mengatur kesalahan.

ErrorModel

Model kesalahan default

ErrorResponseModel

Model respons kesalahan default

CollectionPathResponse

Sumber daya koleksi.

Name Type Description
parentFriendlyNameChain
  • string[]

Nama-nama leluhur yang mudah diingat dimulai dari koleksi default (root) dan diakhbungkan dengan induk langsung.

parentNameChain
  • string[]

Nama-nama leluhur dimulai dari koleksi default (root) dan diakhbungkan dengan induk langsung.

Error

Mendapatkan atau mengatur kesalahan.

Name Type Description
code
  • string

Mendapatkan atau mengatur kode.

details

Mendapatkan atau mengatur detailnya.

message
  • string

Mendapatkan atau mengatur pesan.

target
  • string

Mendapatkan atau menetapkan target.

ErrorModel

Model kesalahan default

Name Type Description
code
  • string

Mendapatkan atau mengatur kode.

details

Mendapatkan atau mengatur detailnya.

message
  • string

Mendapatkan atau mengatur pesan.

target
  • string

Mendapatkan atau menetapkan target.

ErrorResponseModel

Model respons kesalahan default

Name Type Description
error

Mendapatkan atau mengatur kesalahan.