drinks

Attaches (POST) or erases (DELETE) this drink's picture.

post/api/drinks/{id}/picture

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP basic
    • API key in cookie sessionid

Path parameters

idinteger required

A unique integer value identifying this drink.

Response

idinteger required
ticksinteger required

Flow sensor ticks, never changed once recorded.

volume_mlnumber double required

Calculated (or set) Drink volume.

timestring date-time required

Date and time of pour.

durationinteger required

Time in seconds taken to pour this Drink.

session_idinteger nullable required

Session where this Drink is grouped.

shoutstring nullable

Comment from the drinker at the time of the pour.

Changes

    • breaking

      the request property format changed from uri to binary (media type: multipart/form-data)

    • breaking

      the request property format changed from uri to binary (media type: application/x-www-form-urlencoded)

    • info

      removed the required write-only property keg/allOf[Keg]/beverage/allOf[Beverage]/producer_id from the response with the status