API endpoint that allows BedType to be viewed or edited.

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

{
    "count": 12,
    "next": null,
    "previous": "https://api.swistay.com/bed-types/?format=api&ordering=-icon",
    "results": [
        {
            "id": 3,
            "url": "https://api.swistay.com/bed-types/3/?format=api",
            "code": "SIB",
            "name": "Single bed",
            "description": "Single bed is meant for a single person. Size is 3 ft x 6 ft 3 inches",
            "icon": {
                "id": 67,
                "name": "Single bed",
                "src": "https://api.swistay.com/media/icons/7771cf595c864eb58d3a894235443876.svg"
            },
            "order": 3
        },
        {
            "id": 4,
            "url": "https://api.swistay.com/bed-types/4/?format=api",
            "code": "DOB",
            "name": "Double bed",
            "description": "Double bed is meant for 2 persons. Size is 4 ft 6 inches x 6 ft 3 inches",
            "icon": {
                "id": 23,
                "name": "Double bed",
                "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg"
            },
            "order": 4
        }
    ]
}