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": 11,
            "url": "https://api.swistay.com/bed-types/11/?format=api",
            "code": "TOB",
            "name": "Toddler bed",
            "description": "A toddler bed is a smaller, more compact bed designed for young children",
            "icon": {
                "id": 73,
                "name": "Crib",
                "src": "https://api.swistay.com/media/icons/90539d0ccb544ccd8204bb53129c78df.svg"
            },
            "order": 11
        },
        {
            "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
        }
    ]
}