Skip to content

Commit 382a975

Browse files
Adding default error response & updating basePath (#15784)
* add collection APIs * Update purviewcatalog.json * Add default error response * Update purviewcatalog.json * Revert "Update purviewcatalog.json" This reverts commit 465347e. * revert collection * Update purviewcatalog.json * update api version * add api-version * Revert "update api version" This reverts commit 9e7eeb4. * Revert "Update purviewcatalog.json" This reverts commit 05039d7. * Revert "Update purviewcatalog.json" This reverts commit 97dcdea. * add api-version * update api-version * Update readme.md * add ignoreTermsAndCategories
1 parent ac1c84f commit 382a975

File tree

105 files changed

+12456
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+12456
-1
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"autoCompleteRequest": {
5+
"keywords": "exa",
6+
"filter": {
7+
"and": [
8+
{
9+
"entityType": "azure_blob_path",
10+
"includeSubTypes": false
11+
}
12+
]
13+
},
14+
"limit": 10
15+
},
16+
"api-version": "2021-09-01"
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"value": [
22+
{
23+
"text": "example",
24+
"queryPlusText": "example"
25+
},
26+
{
27+
"text": "exampleconfiguration",
28+
"queryPlusText": "exampleconfiguration"
29+
},
30+
{
31+
"text": "exampleresources",
32+
"queryPlusText": "exampleresources"
33+
}
34+
]
35+
}
36+
}
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"browseRequest": {
5+
"entityType": "azure_data_explorer_cluster",
6+
"limit": 10
7+
},
8+
"api-version": "2021-09-01"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"@search.count": 1,
14+
"value": [
15+
{
16+
"id": "7afe6da2-4275-4096-90af-e40479cf70e2",
17+
"name": "examplecluster.westus",
18+
"qualifiedName": "https://examplecluster.westus.kusto.windows.net",
19+
"entityType": "azure_data_explorer_cluster",
20+
"path": "/azure_data_explorer_cluster#examplecluster.westus.kusto.windows.net",
21+
"owner": [
22+
{
23+
"id": "12345678-1234-5678-1234-86b7251e0353",
24+
"displayName": "Example DisplayName",
25+
"mail": "example.displayname@microsoft.com",
26+
"contactType": "Owner"
27+
}
28+
],
29+
"isLeaf": false
30+
}
31+
]
32+
}
33+
}
34+
}
35+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"browseRequest": {
5+
"path": "/azure_data_explorer_cluster#examplecluster.westus.kusto.windows.net",
6+
"limit": 10
7+
},
8+
"api-version": "2021-09-01"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"@search.count": 3,
14+
"value": [
15+
{
16+
"id": "55656c92-7e29-4831-a243-f95bdcdd397b",
17+
"name": "exampledata",
18+
"qualifiedName": "https://examplecluster.westus.kusto.windows.net/exampledata",
19+
"entityType": "azure_data_explorer_database",
20+
"path": "/azure_data_explorer_cluster#examplecluster.westus.kusto.windows.net/azure_data_explorer_database#exampledata",
21+
"owner": [
22+
{
23+
"id": "12345678-1234-5678-1234-86b7251e0353",
24+
"displayName": "Example DisplayName",
25+
"mail": "example.displayname@microsoft.com",
26+
"contactType": "Owner"
27+
}
28+
],
29+
"isLeaf": false
30+
},
31+
{
32+
"id": "940aa60f-36f6-4dcf-8989-2faa49c74462",
33+
"name": "exampledata2",
34+
"qualifiedName": "https://examplecluster.westus.kusto.windows.net/exampledata2",
35+
"entityType": "azure_data_explorer_database",
36+
"path": "/azure_data_explorer_cluster#examplecluster.westus.kusto.windows.net/azure_data_explorer_database#exampledata2",
37+
"owner": [
38+
{
39+
"id": "12345678-1234-5678-1234-86b7251e0353",
40+
"displayName": "Example DisplayName",
41+
"mail": "example.displayname@microsoft.com",
42+
"contactType": "Owner"
43+
}
44+
],
45+
"isLeaf": false
46+
},
47+
{
48+
"id": "19c4a337-840b-442d-ac9c-3df65bb33d69",
49+
"name": "exampledata3",
50+
"qualifiedName": "https://examplecluster.westus.kusto.windows.net/exampledata3",
51+
"entityType": "azure_data_explorer_database",
52+
"path": "/azure_data_explorer_cluster#examplecluster.westus.kusto.windows.net/azure_data_explorer_database#exampledata3",
53+
"owner": [
54+
{
55+
"id": "12345678-1234-5678-1234-86b7251e0353",
56+
"displayName": "Example DisplayName",
57+
"mail": "example.displayname@microsoft.com",
58+
"contactType": "Owner"
59+
}
60+
],
61+
"isLeaf": false
62+
}
63+
]
64+
}
65+
}
66+
}
67+
}
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"searchRequest": {
5+
"keywords": "examplefile.csv",
6+
"filter": {
7+
"and": [
8+
{
9+
"not": {
10+
"or": [
11+
{
12+
"attributeName": "size",
13+
"operator": "eq",
14+
"attributeValue": 0
15+
},
16+
{
17+
"attributeName": "fileSize",
18+
"operator": "eq",
19+
"attributeValue": 0
20+
}
21+
]
22+
}
23+
},
24+
{
25+
"not": {
26+
"classification": "MICROSOFT.SYSTEM.TEMP_FILE"
27+
}
28+
},
29+
{
30+
"not": {
31+
"or": [
32+
{
33+
"entityType": "AtlasGlossaryTerm"
34+
},
35+
{
36+
"entityType": "AtlasGlossary"
37+
}
38+
]
39+
}
40+
}
41+
]
42+
},
43+
"limit": 2,
44+
"offset": 0,
45+
"facets": [
46+
{
47+
"facet": "assetType",
48+
"count": 0,
49+
"sort": {
50+
"count": "desc"
51+
}
52+
},
53+
{
54+
"facet": "classification",
55+
"count": 10,
56+
"sort": {
57+
"count": "desc"
58+
}
59+
},
60+
{
61+
"facet": "contactId",
62+
"count": 10,
63+
"sort": {
64+
"count": "desc"
65+
}
66+
},
67+
{
68+
"facet": "label",
69+
"count": 10,
70+
"sort": {
71+
"count": "desc"
72+
}
73+
},
74+
{
75+
"facet": "term",
76+
"count": 10,
77+
"sort": {
78+
"count": "desc"
79+
}
80+
},
81+
{
82+
"facet": "classificationCategory",
83+
"count": 0,
84+
"sort": {
85+
"count": "desc"
86+
}
87+
},
88+
{
89+
"facet": "fileExtension",
90+
"count": 0,
91+
"sort": {
92+
"count": "desc"
93+
}
94+
}
95+
]
96+
},
97+
"api-version": "2021-09-01"
98+
},
99+
"responses": {
100+
"200": {
101+
"body": {
102+
"@search.count": 339,
103+
"value": [
104+
{
105+
"@search.score": 1.0,
106+
"id": "97dc2d61-ef37-4cfd-8be8-d0a8b3524c1a",
107+
"qualifiedName": "ExampleName1@Glossary",
108+
"name": "Example Name 1",
109+
"description": null,
110+
"owner": null,
111+
"entityType": "AtlasGlossaryTerm",
112+
"classification": [],
113+
"label": [],
114+
"assetType": [],
115+
"term": [],
116+
"contact": []
117+
},
118+
{
119+
"@search.score": 1.0,
120+
"id": "477b0278-81e3-473f-a2d4-d134f1b52f84",
121+
"qualifiedName": "ExampleName2@Glossary",
122+
"name": "Example Name 2",
123+
"description": null,
124+
"owner": null,
125+
"entityType": "AtlasGlossaryTerm",
126+
"classification": [],
127+
"label": [],
128+
"assetType": [],
129+
"term": [],
130+
"contact": []
131+
},
132+
{
133+
"@search.score": 1.0,
134+
"id": "e09577ab-8d46-48af-b4b6-9476e2b5afb7",
135+
"qualifiedName": "ExampleName2@Glossary",
136+
"name": "Example Name 3",
137+
"description": null,
138+
"owner": null,
139+
"entityType": "AtlasGlossaryTerm",
140+
"classification": [],
141+
"label": [],
142+
"assetType": [],
143+
"term": [],
144+
"contact": []
145+
}
146+
]
147+
}
148+
}
149+
}
150+
}
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"searchRequest": {
5+
"keywords": null,
6+
"limit": 2,
7+
"filter": {
8+
"and": [
9+
{
10+
"entityType": "azure_blob_path"
11+
},
12+
{
13+
"attributeName": "qualifiedName",
14+
"operator": "contains",
15+
"attributeValue": ".csv"
16+
}
17+
]
18+
}
19+
},
20+
"api-version": "2021-09-01"
21+
},
22+
"responses": {
23+
"200": {
24+
"body": {
25+
"@search.count": 5,
26+
"value": [
27+
{
28+
"@search.score": 1.0,
29+
"@search.highlights": {
30+
"qualifiedName": [
31+
"https://exampleaccount.blob.core.windows.net/examplepath/<em>csv</em>/exampledata.csv"
32+
]
33+
},
34+
"id": "63b92968-c9ac-4af8-8cff-f61d147bbf88",
35+
"qualifiedName": "https://exampleaccount.blob.core.windows.net/examplepath/csv/exampledata.csv",
36+
"name": "exampledata.csv",
37+
"description": null,
38+
"owner": null,
39+
"entityType": "azure_blob_path",
40+
"classification": [],
41+
"label": [
42+
"Example.Label"
43+
],
44+
"assetType": [
45+
"Azure Blob Storage"
46+
],
47+
"term": [],
48+
"contact": []
49+
},
50+
{
51+
"@search.score": 1.0,
52+
"@search.highlights": {
53+
"qualifiedName": [
54+
"https://exampleaccount.blob.core.windows.net/examplepath/<em>csv</em>/AllTypes.csv"
55+
]
56+
},
57+
"id": "2605db54-086d-4d6c-adb6-f0bbed6c6eab",
58+
"qualifiedName": "https://exampleaccount.blob.core.windows.net/examplepath/csv/AllTypes.csv",
59+
"name": "AllTypes.csv",
60+
"description": null,
61+
"owner": null,
62+
"entityType": "azure_blob_path",
63+
"classification": [],
64+
"label": [
65+
"Example.Label"
66+
],
67+
"assetType": [
68+
"Azure Blob Storage"
69+
],
70+
"term": [],
71+
"contact": []
72+
}
73+
]
74+
}
75+
}
76+
}
77+
}

0 commit comments

Comments
 (0)