Profile

Add a home

Dates may be a bare year. Leave to_date out for the current home.

post/api/homes

Request

  • Base URL: https://trvlrr.app
  • URL: https://trvlrr.app/api/homes
  • Auth: HTTP bearer

Request body

citystring required

City.

countrystring nullable

Country (name or ISO code).

hometownstring nullable

Hometown.

gatewaystring nullable

The city they usually fly from.

from_datestring nullable

YYYY or YYYY-MM-DD.

to_datestring nullable

YYYY or YYYY-MM-DD; leave out for the current home.

Response

The new home.

idstring required
citystring required
countrystring nullable required

ISO alpha-2.

hometownstring nullable required
gatewaystring nullable required

The city they usually fly from.

from_datestring nullable required

YYYY or YYYY-MM-DD.

to_datestring nullable required

YYYY or YYYY-MM-DD; null for the current home.

created_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.