API endpoint that allows RoomType to be viewed or edited.

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

{
    "id": 6,
    "url": "https://api.swistay.com/room-types/6/?format=api",
    "code": "BAR_PU",
    "name": "Communal Bathroom",
    "description": "A communal bathroom is a bathroom that's available to the group of house hold to use",
    "icon": {
        "id": 52,
        "name": "Bathtub",
        "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg"
    },
    "order": 9
}