API endpoint that allows RoomType to be viewed or edited.

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

{
    "id": 11,
    "url": "https://api.swistay.com/room-types/11/?format=api",
    "code": "LIR",
    "name": "Living Room",
    "description": "A living room is a common space in a house where people relax and socialize",
    "icon": {
        "id": 48,
        "name": "Television",
        "src": "https://api.swistay.com/media/icons/9b6c994b43da4d1da9ccdd37c2912bea.svg"
    },
    "order": 11
}