API endpoint that allows BedType to be viewed or edited.

GET /bed-types/?format=api&ordering=-id&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=-id",
    "results": [
        {
            "id": 2,
            "url": "https://api.swistay.com/bed-types/2/?format=api",
            "code": "QUB",
            "name": "Queen bed",
            "description": "Queen bed is a bit larger than the double bed. Size is 5 ft 6 inches x 6 ft 6 inches and can accommodate up to two people at a time",
            "icon": {
                "id": 70,
                "name": "Queen bed",
                "src": "https://api.swistay.com/media/icons/bbcec7c3234947c08fac18aea880a70a.svg"
            },
            "order": 2
        },
        {
            "id": 1,
            "url": "https://api.swistay.com/bed-types/1/?format=api",
            "code": "KIB",
            "name": "King bed",
            "description": "A king sized bed is available in two sizes European(6 ft x 6 ft 6 inches) and California(6 ft x 6 ft 10 inches) king. Can accommodate up to two people at a time",
            "icon": {
                "id": 71,
                "name": "King bed",
                "src": "https://api.swistay.com/media/icons/1b821be660a345a78aeb08b260e39196.svg"
            },
            "order": 1
        }
    ]
}