GET /gpdomains/v2/aggregated/compliance
GETgpdomains/v2/aggregated/compliance
Returns the current domain count for every compliance verdict
Query Parameters
domain string
Filter Google Postmaster v2 domains by a domain name substring
profile_id string
Filter Google Postmaster v2 domains by profile ID
compliance string
Filter by domain compliance status. Accepts a comma-separated string or JSON array of values.
Returns
- dataobjectCounts of monitored domains, grouped by their current compliance verdict
- COMPLIANTintegerNumber of domains that comply with all requirements
- NEEDS_WORKintegerNumber of domains that do not comply with one or more requirements
- STATE_UNSPECIFIEDintegerNumber of domains for which Google has not reported compliance
- COMPLIANTinteger
Error Codes
400 Bad Request
Bad Request
401 Unauthorized
Unauthorized
403 Forbidden
Forbidden
500 Internal Server Error
Internal server error