API endpoint that allows RoomType to be viewed or edited.

GET /room-types/?format=api&ordering=description
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 18,
    "next": "https://api.swistay.com/room-types/?format=api&ordering=description&page=2",
    "previous": null,
    "results": [
        {
            "id": 5,
            "url": "https://api.swistay.com/room-types/5/?format=api",
            "code": "BAR",
            "name": "Bathroom",
            "description": "A bathroom is a room that contains either a bathtub or a shower. The inclusion of a wash basin is common",
            "icon": {
                "id": 52,
                "name": "Bathtub",
                "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg"
            },
            "order": 8
        },
        {
            "id": 1,
            "url": "https://api.swistay.com/room-types/1/?format=api",
            "code": "BER",
            "name": "Bedroom",
            "description": "A bedroom is a room furnished with a bed and intended primarily for sleeping",
            "icon": {
                "id": 23,
                "name": "Double bed",
                "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg"
            },
            "order": 1
        },
        {
            "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
        },
        {
            "id": 18,
            "url": "https://api.swistay.com/room-types/18/?format=api",
            "code": "KIS",
            "name": "Kitchen Space",
            "description": "A dedicated soece for kitchen(Not a an entire room)",
            "icon": {
                "id": 44,
                "name": "Kitchen tools",
                "src": "https://api.swistay.com/media/icons/b9bf9e6735dc48b8b2403d3fc3ddab53.svg"
            },
            "order": 15
        },
        {
            "id": 12,
            "url": "https://api.swistay.com/room-types/12/?format=api",
            "code": "DIR",
            "name": "Dining Room",
            "description": "A dining room is where the majority of breakfast, lunch, snacks, and dinner meals are served on a daily basis",
            "icon": {
                "id": 34,
                "name": "Dining table",
                "src": "https://api.swistay.com/media/icons/3f2716ac812d45ce907d7b6b17087e80.svg"
            },
            "order": 12
        },
        {
            "id": 16,
            "url": "https://api.swistay.com/room-types/16/?format=api",
            "code": "DIS",
            "name": "Dinning Space",
            "description": "A dining space(not dedicated room) is where the majority of breakfast, lunch, snacks, and dinner meals are served on a daily basis",
            "icon": {
                "id": 34,
                "name": "Dining table",
                "src": "https://api.swistay.com/media/icons/3f2716ac812d45ce907d7b6b17087e80.svg"
            },
            "order": 13
        },
        {
            "id": 15,
            "url": "https://api.swistay.com/room-types/15/?format=api",
            "code": "GYR",
            "name": "Gym Room",
            "description": "A gym room is a room for doing and storing exercise equipments",
            "icon": {
                "id": 11,
                "name": "Dumbbell",
                "src": "https://api.swistay.com/media/icons/d45d19aae0e647069c7b9cb278b7cfb7.svg"
            },
            "order": 17
        },
        {
            "id": 13,
            "url": "https://api.swistay.com/room-types/13/?format=api",
            "code": "KIR",
            "name": "Kitchen Room",
            "description": "A kitchen is a room or part of a room used for cooking and food preparation",
            "icon": {
                "id": 44,
                "name": "Kitchen tools",
                "src": "https://api.swistay.com/media/icons/b9bf9e6735dc48b8b2403d3fc3ddab53.svg"
            },
            "order": 14
        },
        {
            "id": 17,
            "url": "https://api.swistay.com/room-types/17/?format=api",
            "code": "LAR",
            "name": "Laundry Room",
            "description": "A laundry room is a room where clothes are washed, and sometimes also dried.",
            "icon": {
                "id": 65,
                "name": "Washer",
                "src": "https://api.swistay.com/media/icons/65.svg"
            },
            "order": 16
        },
        {
            "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
        }
    ]
}