Skip to main content

Living Rooms

Overview

This resource represents the rental's living rooms. This resource is mostly static information used for presentational purposes.

Parameters

NameTypeRead/WriteDescription
rentalIntegerReadRental's ID related to LivingRoom
accountIntegerReadAccount's ID related to LivingRoom
idIntegerReadLivingRoom's id.
bunk_beds_countIntegerReadLivingRoom's number of bunk beds.
double_beds_countIntegerReadLivingRoom's number of double beds.
kingsize_beds_countIntegerReadLivingRoom's number of kingsize beds.
queensize_beds_countIntegerReadLivingRoom's number of queensize beds.
single_beds_countIntegerReadLivingRoom's number of single beds.
sofa_beds_countIntegerReadLivingRoom's number of sofa beds.
created_atTimeReadLivingRoom's create time.
updated_atTimeReadLivingRoom's update time.

List living_rooms

List all living_rooms for a given account.

GET /living_rooms

Get a single living_room

Returns a single living_room identified by ID.

GET /living_rooms/:living_room_id

Create a new living_room

Creates a living_room for given rental.

POST /rentals/:rental_id/living_rooms

Update a living_room

Returns an updated living_room identified by ID.

PUT /living_rooms/:living_room_id

Destroy a living_room

Required OAuth scope: :rentals_write

Returns an empty response with 204 No Content status code on success.

DELETE /living_rooms/:living_room_id