Districts

Get all districts

Changed on

Retrieve all districts from the system

get/districts

Request

  • Base URL: http://localhost:8080/api/v1
  • URL: http://localhost:8080/api/v1/districts
  • Auth: none declared

Response

List of districts

idinteger
namestring
created_atstring date-time
updated_atstring date-time

Example response

[
  {
    "id": 3,
    "name": "Central District",
    "created_at": "2025-01-15T14:30:00Z",
    "updated_at": "2025-01-15T14:30:00Z"
  }
]

Changes