Put Availability

The operator declares how full the centre is and how much is left of each size. The whole declaration every time. On a centre still in a claim it is kept as a draft and declared when the claim is approved.

put/api/v1/sites/{site_id}/availability

Request

  • Base URL: https://trovastorage.it (the document declares no server; this is the origin it was published from)
  • URL: https://trovastorage.it/api/v1/sites/{site_id}/availability
  • Auth: one of:
    • API key in header X-Access-Token
    • HTTP bearer

Path parameters

site_idstring uuid required

Request body

occupancy_pctinteger nullable
small'available' | 'limited' | 'full' nullable
medium'available' | 'limited' | 'full' nullable
large'available' | 'limited' | 'full' nullable

Response

Successful Response

site_idstring uuid required
namestring required
publishedboolean required
occupancy_pctinteger nullable required
updated_atstring date-time nullable required

Changes

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