Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Latest commit

 

History

History
22 lines (18 loc) · 293 Bytes

File metadata and controls

22 lines (18 loc) · 293 Bytes

GET /api/cities

Return cities list

Response:

type City = {
    id: number;
    name: string;
    timezone: string | null;
};

type Response = Array<City>

const example: Response = [
    {
        id: 1,
        name: "Ulaanbaatar",
        timezone: "Asia/Bangkok"
    }
]