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 |
|---|---|---|---|---|
|
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. |
|
$skip
|
query |
|
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
|
Collection |
Sumber daya koleksi. |
|
Collection |
Daftar koleksi halaman. |
| Error |
Mendapatkan atau mengatur kesalahan. |
|
Error |
Model kesalahan default |
|
Error |
Model respons kesalahan default |
CollectionNameResponse
Sumber daya koleksi.
| Name | Type | Description |
|---|---|---|
| friendlyName |
|
Mendapatkan atau mengatur nama koleksi yang mudah diingat. |
| name |
|
Mendapatkan nama. |
CollectionNameResponseList
Daftar koleksi halaman.
| Name | Type | Description |
|---|---|---|
| count |
|
Jumlah item total. |
| nextLink |
|
Url halaman hasil berikutnya. |
| value |
Kumpulan item hasil jenis. |
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. |