GET api/city/findAll
Request
No body
Response
Content-Type: application/json
200 OK
Response Body: (Collection of org.example.world.City)
[
{
}
]
GET api/city/findByCountry/{country}
Request
No body
Path Param: country, java.lang.String
Response
Content-Type: application/json
200 OK
Response Body: (Collection of org.example.world.City)
[
{
}
]
GET api/city/findById/{id}
Request
No body
Path Param: id, int
Response
Content-Type: application/json
200 OK
Response Body: (org.example.world.City)
{
}
404 Not Found
GET api/city/findByName/{name}
Request
No body
Path Param: name, java.lang.String
Response
Content-Type: application/json
200 OK
Response Body: (Collection of org.example.world.City)
[
{
}
]