Query
query PropertyCoverage($propertyIds: [String!]!, $sourceId: String!) {
propertyCoverage(propertyIds: $propertyIds, sourceId: $sourceId) {
filledEntries
languages {
filledEntries
language
}
propertyId
}
}Variables
{
"propertyIds": [
"string"
],
"sourceId": "string"
}Response
{
"data": {
"propertyCoverage": [
{
"filledEntries": "value",
"languages": [
{
"filledEntries": "value",
"language": "string"
}
],
"propertyId": "string"
}
]
}
}Queries
propertyCoverage
How many of a data source’s entries have a value for each requested source property, over the whole source.
QUERY
propertyCoverage(propertyIds: [String!]!, sourceId: String!): [PropertyCoverage!]!Arguments
propertyIds
[String!]!
required
Ids of the source properties to measure, at most 500. Each must be configured on the source.
sourceId
String!
required
Raw id of the data source (e.g. products), not the global DataSource.id.
Returns
[PropertyCoverage!]!
filledEntries
Long!
Number of the source's entries with a non-empty value for the property. Unlike hasValue, empty text and empty lists don't count.
languages
[LanguageCoverage!]!
One count per stored language of a localized property; empty for any other property.
propertyId
String!
Id of the source property.
Query
query PropertyCoverage($propertyIds: [String!]!, $sourceId: String!) {
propertyCoverage(propertyIds: $propertyIds, sourceId: $sourceId) {
filledEntries
languages {
filledEntries
language
}
propertyId
}
}Variables
{
"propertyIds": [
"string"
],
"sourceId": "string"
}Response
{
"data": {
"propertyCoverage": [
{
"filledEntries": "value",
"languages": [
{
"filledEntries": "value",
"language": "string"
}
],
"propertyId": "string"
}
]
}
}Was this page helpful?