diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query.json index 620938208c5f..1357d7975248 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query.json @@ -40,7 +40,7 @@ } ] }, - "limit": 2, + "limit": 10, "offset": 0, "facets": [ { @@ -77,20 +77,6 @@ "sort": { "count": "desc" } - }, - { - "facet": "classificationCategory", - "count": 0, - "sort": { - "count": "desc" - } - }, - { - "facet": "fileExtension", - "count": 0, - "sort": { - "count": "desc" - } } ] }, diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_And.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_And.json index 4ffde478a0d4..385ec35013de 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_And.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_And.json @@ -3,7 +3,7 @@ "Endpoint": "{Endpoint}", "searchRequest": { "keywords": null, - "limit": 2, + "limit": 10, "filter": { "and": [ { diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_AndOrNested.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_AndOrNested.json index 0caa0100e580..6c62890f49b5 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_AndOrNested.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_AndOrNested.json @@ -3,7 +3,7 @@ "Endpoint": "{Endpoint}", "searchRequest": { "keywords": null, - "limit": 2, + "limit": 10, "filter": { "and": [ { diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_AssetType.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_AssetType.json index e5766d57c433..068a2094f234 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_AssetType.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_AssetType.json @@ -3,7 +3,7 @@ "Endpoint": "{Endpoint}", "searchRequest": { "keywords": null, - "limit": 2, + "limit": 10, "filter": { "or": [ { diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Attribute.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Attribute.json index 33704afe8979..2587b1883901 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Attribute.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Attribute.json @@ -3,7 +3,7 @@ "Endpoint": "{Endpoint}", "searchRequest": { "keywords": null, - "limit": 2, + "limit": 10, "filter": { "attributeName": "name", "operator": "eq", diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Classification.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Classification.json index 663c18c01c4a..20e8f17d02d8 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Classification.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Classification.json @@ -3,7 +3,7 @@ "Endpoint": "{Endpoint}", "searchRequest": { "keywords": null, - "limit": 2, + "limit": 10, "filter": { "classification": "MICROSOFT.PERSONAL.EMAIL", "includeSubClassifications": true diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Collection.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Collection.json new file mode 100644 index 000000000000..18f4002b6718 --- /dev/null +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Collection.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "Endpoint": "{Endpoint}", + "searchRequest": { + "keywords": null, + "limit": 10, + "filter": { + "collectionId": "collectionName" + } + }, + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "@search.count": 5, + "value": [ + { + "@search.score": 1.0, + "id": "b9638b91-884f-4e5e-98b5-29f6f6f60000", + "qualifiedName": "mssql://exampleserver.database.windows.net/examplesqldb/examplepath/exampledata1", + "name": "exampledata1", + "description": null, + "owner": null, + "entityType": "azure_sql_table", + "classification": [ + "MICROSOFT.PERSONAL.NAME", + "MICROSOFT.PERSONAL.EU.PHONE_NUMBER", + "MICROSOFT.PERSONAL.US.PHONE_NUMBER", + "MICROSOFT.PERSONAL.EMAIL" + ], + "label": [], + "assetType": [ + "Azure SQL Database" + ], + "term": [], + "contact": [] + }, + { + "@search.score": 1.0, + "id": "01aefb9a-61cd-4a02-a572-70f6f6f60000", + "qualifiedName": "mssql://exampleserver.database.windows.net/exampledw/examplepath/exampledata2", + "name": "exampledata2", + "description": null, + "owner": null, + "entityType": "azure_sql_dw_table", + "classification": [ + "MICROSOFT.GOVERNMENT.CITY_NAME", + "MICROSOFT.GOVERNMENT.US.STATE", + "MICROSOFT.PERSONAL.NAME", + "MICROSOFT.PERSONAL.EU.PHONE_NUMBER", + "MICROSOFT.PERSONAL.EMAIL" + ], + "label": [], + "assetType": [ + "Azure SQL Data Warehouse" + ], + "term": [], + "contact": [] + } + ] + } + } + } +} diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Facet.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Facet.json index f6412b183f3d..6ccf682e5839 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Facet.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Facet.json @@ -13,12 +13,12 @@ } ] }, - "limit": 2, + "limit": 10, "offset": 0, "facets": [ { "facet": "assetType", - "count": 0 + "count": 10 }, { "facet": "classification", @@ -28,17 +28,9 @@ "facet": "term", "count": 10 }, - { - "facet": "fileExtension", - "count": 10 - }, { "facet": "label", "count": 10 - }, - { - "facet": "classificationCategory", - "count": 10 } ] }, @@ -75,7 +67,6 @@ "value": "MICROSOFT.GOVERNMENT.US.STATE" } ], - "fileExtension": [], "assetType": [ { "count": 1476, @@ -116,7 +107,6 @@ "value": "Example.Label" } ], - "classificationCategory": [], "term": [ { "count": 1, diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_FileExtension.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_FileExtension.json index cf6a90c8d59e..a0f16bfbbf13 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_FileExtension.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_FileExtension.json @@ -3,7 +3,7 @@ "Endpoint": "{Endpoint}", "searchRequest": { "keywords": null, - "limit": 2, + "limit": 10, "filter": { "and": [ { diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Id.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Id.json index c2e3bfdbc10f..7b910ff152b8 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Id.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Id.json @@ -3,7 +3,7 @@ "Endpoint": "{Endpoint}", "searchRequest": { "keywords": null, - "limit": 2, + "limit": 10, "filter": { "and": [ { diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Not.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Not.json index 568a0bab7541..eaf0e8b82325 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Not.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Not.json @@ -3,7 +3,7 @@ "Endpoint": "{Endpoint}", "searchRequest": { "keywords": null, - "limit": 2, + "limit": 10, "filter": { "not": { "classification": "MICROSOFT.SYSTEM.TEMP_FILE" diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Taxonomy.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Taxonomy.json index d75d6cf1b8d6..dd47063eb5c2 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Taxonomy.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Taxonomy.json @@ -34,7 +34,7 @@ } ] }, - "limit": 2, + "limit": 10, "offset": 0, "facets": [ { diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Type.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Type.json index 003339c6f2f9..55fc5030311d 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Type.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Discovery_Query_Type.json @@ -3,7 +3,7 @@ "Endpoint": "{Endpoint}", "searchRequest": { "keywords": null, - "limit": 2, + "limit": 10, "filter": { "and": [ { diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Entity_ListByGuids.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Entity_ListByGuids.json index 23681ef47140..8d8754364eed 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Entity_ListByGuids.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Entity_ListByGuids.json @@ -1,7 +1,7 @@ { "parameters": { "Endpoint": "{Endpoint}", - "guids": [ + "guid": [ "784c0f2f-afd2-e26b-f9cb-984f6c2c5021", "b4ebc8be-cef4-860a-bee9-28cc34cb5caa" ] diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/purviewcatalog.json b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/purviewcatalog.json index b849b41c3d2c..6e1bcce667be 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/purviewcatalog.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/purviewcatalog.json @@ -99,7 +99,7 @@ }, "parameters": [ { - "name": "guids", + "name": "guid", "in": "query", "description": "An array of GUIDs of entities to create.", "required": true, @@ -2476,6 +2476,9 @@ }, "Discovery_Query_Taxonomy": { "$ref": "./examples/Discovery_Query_Taxonomy.json" + }, + "Discovery_Query_Collection": { + "$ref": "./examples/Discovery_Query_Collection.json" } }, "parameters": [ @@ -5947,7 +5950,7 @@ } }, "title": "Context", - "description": "A facet list that consists of index fields assetType ,classification, classificationCategory, contactId, fileExtension, label, and label. When the facet is specified in the request, the value of the facet is returned as an element of @search.facets." + "description": "A facet list that consists of index fields assetType ,classification, contactId, and label. When the facet is specified in the request, the value of the facet is returned as an element of @search.facets." }, "SearchFacetItemValue": { "type": "object", @@ -6195,7 +6198,7 @@ "offset": { "type": "integer", "format": "int32", - "description": "The offset. The default value is 0." + "description": "The offset. The default value is 0. The maximum value is 100000." }, "limit": { "type": "integer", @@ -6244,12 +6247,12 @@ "limit": { "type": "integer", "format": "int32", - "description": "The number of browse items we hope to return." + "description": "The number of browse items we hope to return. The maximum value is 10000." }, "offset": { "type": "integer", "format": "int32", - "description": "The offset. The default value is 0." + "description": "The offset. The default value is 0. The maximum value is 100000." } }, "title": "BrowseRequest",