Purview Distribution Service REST API Document (stable:2023-01-01)

2025/12/05 • 3 new methods

DatasourcePreferences_List (new)
Description Get Datasource Preferences for given scope.
Reference Link ¶

⚼ Request

GET:  /datasource-preferences
{
scope: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
kind: string ,
status: string ,
excludedScopes:
[
string ,
]
,
}
,
]
,
accountInfo:
{
id: string ,
name: string ,
location: string ,
tenantId: string ,
gatewayEndpoint: string ,
}
,
frequency: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PolicyElements_List (new)
Description Get policies for given scope.
Reference Link ¶

⚼ Request

GET:  /policy-elements
{
scope: string ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
syncToken: string ,
nextLink: string ,
value:
[
{
id: string ,
scopes:
[
string ,
]
,
version: integer ,
elementJson: string ,
kind: enum ,
updatedAt: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PolicyEvents_List (new)
Description Get policy events for given scope.
Reference Link ¶

⚼ Request

GET:  /policy-events
{
scope: string ,
syncToken: string ,
api-version: string ,
}

⚐ Response (200)

{
syncToken: string ,
value:
[
{
id: string ,
scopes:
[
string ,
]
,
version: integer ,
elementJson: string ,
kind: enum ,
updatedAt: string ,
eventType: string ,
}
,
]
,
}

⚐ Response (304)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}