Action | Method | Resource | Description |
---|---|---|---|
Get all |
|
| Get all cities with |
Get |
|
| Get city with id |
Create |
|
| Create a city with |
Update |
|
| Update city with |
Delete |
|
| Delete city with |
The city model is composed of the following attributes:
Attribute | Type | Required | Description | Whereable |
---|---|---|---|---|
name | string | no, required to create. | The city's name. | Yes |
administrator_id | integer | no | The city's administrator. (User ID) | Yes |
enabled | boolean | no | The city's status. | Yes |