API endpoint that allows BedType to be viewed or edited.

GET /bed-types/?format=api&ordering=-description&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=-description",
    "results": [
        {
            "id": 12,
            "url": "https://api.swistay.com/bed-types/12/?format=api",
            "code": "CO",
            "name": "Cot",
            "description": "A cot is a a small bed for a baby or young child with high bars around sides so that the child cannot fall out",
            "icon": {
                "id": 73,
                "name": "Crib",
                "src": "https://api.swistay.com/media/icons/90539d0ccb544ccd8204bb53129c78df.svg"
            },
            "order": 12
        },
        {
            "id": 5,
            "url": "https://api.swistay.com/bed-types/5/?format=api",
            "code": "BUB",
            "name": "Bunk bed",
            "description": "A bunk bed or set of bunks is a type of bed in which one bed frame is stacked on top of another, allowing two or more sleeping-places",
            "icon": {
                "id": 72,
                "name": "Bunk bed",
                "src": "https://api.swistay.com/media/icons/fc8128ea820a4f4f85138456f22aeb30.svg"
            },
            "order": 5
        }
    ]
}