Room Type List
API endpoint that allows RoomType to be viewed or edited.
GET /room-types/?format=api&ordering=-icon
https://api.swistay.com/room-types/?format=api&ordering=-icon&page=2", "previous": null, "results": [ { "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": 7, "url": "https://api.swistay.com/room-types/7/?format=api", "code": "BAR_PR", "name": "Private Bathroom", "description": "A private bathroom is a bathroom that's available for few house hold members to use", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 10 }, { "id": 9, "url": "https://api.swistay.com/room-types/9/?format=api", "code": "BAR_MA", "name": "Master Bathroom", "description": "This is a bathroom that's dedicated for a master bedroom", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 5 }, { "id": 8, "url": "https://api.swistay.com/room-types/8/?format=api", "code": "BAR_EN", "name": "Ensuite Bathroom", "description": "This is a bathroom that is directly connected to a bedroom room", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 3 }, { "id": 10, "url": "https://api.swistay.com/room-types/10/?format=api", "code": "BAR_MS", "name": "Master Suite Bathroom", "description": "This is a bathroom that's directly connected to a master suite bedroom", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 7 }, { "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": 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": 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 }, { "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": 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 } ] }{ "count": 18, "next": "