openapi: 3.0.1 info: title: Users by Country API version: 1.0.0 paths: /analytics/users-by-country: get: summary: Get count of users grouped by country responses: '200': description: A list of countries with user counts content: application/json: schema: type: array items: $ref: '#/components/schemas/CountryUserStats' components: schemas: CountryUserStats: type: object properties: country: type: string userCount: type: integer verifiedCount: type: integer unverifiedCount: type: integer