Microsoft Purview · Schema
DatasourcePreferencesResponseUpdated
Response model for datasource preference API.
ComplianceData CatalogData ClassificationData GovernanceData Loss PreventionInformation Protection
Properties
| Name | Type | Description |
|---|---|---|
| value | array | Consent details. |
| accountInfo | object | |
| frequency | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-purview/json-schema/microsoft-purview-datasource-preferences-response-updated-schema.json",
"title": "DatasourcePreferencesResponseUpdated",
"description": "Response model for datasource preference API.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-purview-datasourcepreferences-api-openapi.yml#/components/schemas/DatasourcePreferencesResponseUpdated",
"type": "object",
"properties": {
"value": {
"description": "Consent details.",
"type": "array",
"items": {
"$ref": "#/$defs/ConsentServiceModelSimplified"
}
},
"accountInfo": {
"$ref": "#/$defs/AccountModelBase"
},
"frequency": {
"$ref": "#/$defs/TimeSpan"
}
},
"$defs": {
"AccountModelBase": {
"description": "Details of the purview account governing the requested resource.",
"type": "object",
"properties": {
"id": {
"description": "Id of the Purview account.",
"type": "string"
},
"name": {
"description": "Name of the Purview account.",
"type": "string"
},
"location": {
"description": "Location (Region) of the Purview account.",
"type": "string"
},
"tenantId": {
"description": "Tenant Id of the Purview account.",
"type": "string"
},
"gatewayEndpoint": {
"description": "Endpoint of the Purview account. This will be used by the RPs to call Purview APIs.",
"type": "string"
}
}
},
"ConsentServiceModelSimplified": {
"description": "Consent details.",
"type": "object",
"properties": {
"kind": {
"description": "Consent kind.",
"type": "string"
},
"status": {
"description": "Consent status.",
"type": "string"
},
"excludedScopes": {
"description": "List of scopes opted out of this consent.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"TimeSpan": {
"description": "This is an ISO8601 time span value.",
"type": "string"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-purview-datasource-preferences-response-updated"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.