Skip to content

SearchCityCountResponseDto

Endpoints · All schemas

FieldRequiredDescription
cityYesCity name, grouped as in GET /search/cities (which lists only cities with a photo)
countYesNumber of timeline photos and videos in this city

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "properties": {
    "city": {
      "description": "City name, grouped as in GET /search/cities (which lists only cities with a photo)",
      "type": "string"
    },
    "count": {
      "description": "Number of timeline photos and videos in this city",
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "city",
    "count"
  ],
  "type": "object"
}