Collections - List Child Collection Names

Membuat daftar nama koleksi elemen anak dalam koleksi.

GET {endpoint}/collections/{collectionName}/getChildCollectionNames?api-version=2019-11-01-preview
GET {endpoint}/collections/{collectionName}/getChildCollectionNames?api-version=2019-11-01-preview&$skipToken={$skipToken}

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.

$skipToken
query
  • string

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_ListChildCollectionNames

Sample Request

GET {endpoint}/collections/myCollection1/getChildCollectionNames?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
{
  "value": [
    {
      "name": "mycollection1",
      "friendlyName": "The first collection"
    },
    {
      "name": "mycollection2",
      "friendlyName": "Some collection"
    },
    {
      "name": "parent2",
      "friendlyName": "parent2"
    }
  ],
  "count": 3
}

Definisi

CollectionNameResponse

Sumber daya koleksi.

CollectionNameResponseList

Daftar koleksi halaman.

Error

Mendapatkan atau mengatur kesalahan.

ErrorModel

Model kesalahan default

ErrorResponseModel

Model respons kesalahan default

CollectionNameResponse

Sumber daya koleksi.

Name Type Description
friendlyName
  • string

Mendapatkan atau mengatur nama koleksi yang mudah diingat.

name
  • string

Mendapatkan nama.

CollectionNameResponseList

Daftar koleksi halaman.

Name Type Description
count
  • integer

Jumlah item total.

nextLink
  • string

Url halaman hasil berikutnya.

value

Kumpulan item hasil jenis.

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.