Leases

Every lease, with unit label and tenant names

One page of leases by id. The two fields a list needs that a lease does not carry: the unit’s label, resolved so an owner’s building alias is honoured, and the tenants’ names, a company by its company name the way every other screen names it.

get/api/v1/leases

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/leases
  • Auth: API key in cookie better-auth.session_token

Query parameters

limitinteger

How many leases to return, by id. 1–1000, default 50.

offsetinteger

How many leases to skip before counting limit. Default 0. Page with offset = offset + limit until a page comes back shorter than limit.

Response

A page of leases.

okunknown required

Changes

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