Azure.Analytics.Purview.Catalog (preview:2022-08-01)

2025/03/21 • 2 updated methods

Discovery_Query (updated)
Description Gets data using search.
Reference Link ¶

⚶ Changes

{
  "#id": "Discovery_Query",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": [
            {
              "#name": "endorsement",
              "Type": {
                "new": "array",
                "old": "string"
              }
            }
          ]
        }
      }
    }
  }
}

⚼ Request

POST:  /search/query
{
searchRequest:
{
keywords: string ,
offset: integer ,
limit: integer ,
orderby:
[
object ,
]
,
filter: object ,
facets:
[
{
count: integer ,
facet: string ,
sort: object ,
}
,
]
,
taxonomySetting:
{
assetTypes:
[
string ,
]
,
facet:
{
count: integer ,
facet: string ,
sort: object ,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
@search.count: integer ,
@search.facets:
{
entityType:
[
{
count: integer ,
value: string ,
}
,
]
,
assetType:
[
{
count: integer ,
value: string ,
}
,
]
,
classification:
[
{
count: integer ,
value: string ,
}
,
]
,
term:
[
{
count: integer ,
value: string ,
}
,
]
,
contactId:
[
{
count: integer ,
value: string ,
}
,
]
,
contactType:
[
{
count: integer ,
value: string ,
}
,
]
,
label:
[
{
count: integer ,
value: string ,
}
,
]
,
glossaryType:
[
{
count: integer ,
value: string ,
}
,
]
,
termStatus:
[
{
count: integer ,
value: string ,
}
,
]
,
termTemplate:
[
{
count: integer ,
value: string ,
}
,
]
,
}
,
value:
[
{
@search.score: number ,
@search.highlights:
{
id:
[
string ,
]
,
qualifiedName:
[
string ,
]
,
name:
[
string ,
]
,
description:
[
string ,
]
,
entityType:
[
string ,
]
,
}
,
objectType: string ,
createTime: integer ,
updateTime: integer ,
id: string ,
name: string ,
qualifiedName: string ,
entityType: string ,
description: string ,
endorsement:
[
string ,
]
,
owner: string ,
classification:
[
string ,
]
,
label:
[
string ,
]
,
term:
[
{
name: string ,
glossaryName: string ,
guid: string ,
}
,
]
,
contact:
[
{
id: string ,
info: string ,
contactType: string ,
}
,
]
,
assetType:
[
string ,
]
,
glossaryType: string ,
glossary: string ,
termStatus: string ,
termTemplate:
[
string ,
]
,
longDescription: string ,
}
,
]
,
}

⚐ Response (default)

{
requestId: string ,
errorCode: string ,
errorMessage: string ,
}
Discovery_Suggest (updated)
Description Get search suggestions by query criteria.
Reference Link ¶

⚶ Changes

{
  "#id": "Discovery_Suggest",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": [
            {
              "#name": "endorsement",
              "Type": {
                "new": "array",
                "old": "string"
              }
            }
          ]
        }
      }
    }
  }
}

⚼ Request

POST:  /search/suggest
{
suggestRequest:
{
keywords: string ,
limit: integer ,
filter: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
@search.score: number ,
@search.text: string ,
objectType: string ,
createTime: integer ,
updateTime: integer ,
id: string ,
name: string ,
qualifiedName: string ,
entityType: string ,
description: string ,
endorsement:
[
string ,
]
,
owner: string ,
classification:
[
string ,
]
,
label:
[
string ,
]
,
term:
[
{
name: string ,
glossaryName: string ,
guid: string ,
}
,
]
,
contact:
[
{
id: string ,
info: string ,
contactType: string ,
}
,
]
,
assetType:
[
string ,
]
,
glossaryType: string ,
glossary: string ,
termStatus: string ,
termTemplate:
[
string ,
]
,
longDescription: string ,
}
,
]
,
}

⚐ Response (default)

{
requestId: string ,
errorCode: string ,
errorMessage: string ,
}