API endpoint that allows RoomType to be viewed or edited.

GET /room-types/2/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2,
    "url": "https://api.swistay.com/room-types/2/?format=api",
    "code": "BER_EN",
    "name": "Ensuite Bedroom",
    "description": "This is a bedroom that is directly connected to a bathroom, it's also known as self contained",
    "icon": {
        "id": 23,
        "name": "Double bed",
        "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg"
    },
    "order": 2
}