Get desktop application:
View/edit binary Protocol Buffers messages
An authentication token, which a drinker uses to authenticate to the system.
The unique identifier for this token.
The name of the auth device that owns this token, such as ``core.onewire`` or ``contrib.phidget.rfid``.
The unique key.
The user owning the token.
An optional human-readable name for this token.
True if the token is enabled.
The date the token was created, as an ISO8061 UTC timestamp.
The date after which the token is invalid, as an ISO8061 UTC timestamp. Only available to admin users.
The token's pin, if any. Only available to admin users.
A named beer style of beer, such as "India Pale Ale".
The unique identifier for this beer style.
The name of the beer style.
A specific kind of beer: describes the beer's name, style, and brewer.
Used in:
The unique identifier for this beer type.
The brand name of the beer.
Brewer information for the beer. May refer to an 'unknown' or generic brewer record.
Style information for the beer. May refer to an 'unknown' or generic beer style.
For seasonal or special edition beers, the year or other edition name.
Alcohol by volume, as a percentage of the total volume.
Number of calories per ounce of beverage.
Number of carbohydrates per ounce of beverage.
Specific/final gravity of the beer, if known.
Original gravity of the beer, if known.
Image for this beer.
A type of beer, coffee, wine, or other beverage.
Used in:
Unique id for this beverage.
Beverage name.
Producer.
Type of beverage.
Beverage style.
Free-form description.
Logo or other image.
Vintage.
Alcohol by volume (0.0-100.0).
Calories.
Carbohydrates.
Original gravity.
Specific gravity.
Untappd id (for beers only).
Beverage backend.
Id within beverage backend.
A beverage production company or brand.
Used in:
The unique identifier for this producer.
The name of the brewer or production company.
Country of origin.
State of origin.
City of origin.
True if this is a home producer.
URL for producer.
Free-form description.
Image.
A specific producer of our favorite beverage.
The unique identifier for this beer type.
The name of the brewer.
The country of the brewer's headquarters.
The state of the brewer's headquarters.
The city of the brewer's headquarters.
Type of production (usually either 'retail' or 'homebrew').
URL of brewer.
Free-form description.
Image or logo for this brewer.
Describes a hardware controller
Used in:
, ,Describes a single recorded pour from the Kegbot.
Used in:
,The unique identifier for this drink.
The number of meter ticks recorded for the drink.
The volume of the drink, in milliliters.
The session this drink belongs to.
UTC time when the drink was poured, as an ISO8061 UTC timestamp.
Duration, in seconds, of the pour.
The Keg from which the drink was poured. May be unset if the drink was not associated with a keg.
The User that poured the drink. Snset if the drinker was unknown (anonymous pour).
Auth token value used to pour the drink, if known.
Canonical URL for this object.
Comment from the drinker at the time of the pour.
Vector of tick updates. Format is: "<time>:<amount> [<time>:<amount> ...]", where "time" is the delta (in ms) from the previous reading, and "amount" is the delta in ticks from the previous reading.
Used in:
,Used in:
,Describes an image.
Used in:
, , , , , ,The default URL of this image.
The width of the image in pixels.
The height of the image in pixels.
The date the picture was created.
The caption, if any.
The user associated with this picture, if any.
The keg associated with this picture, if any.
The session associated with this picture, if any.
The drink associated with this picture, if any.
A single instance of a Keg that was attached to the Kegbot.
Used in:
, , ,The unique identifier for this keg.
Shell type.
Volume remaining in the keg, in milliliters.
Initial volume.
Served volume.
Total portion of the original volume that was spoiled, in milliliters. Spilled volume is not attributed to any drink, but deducts from the keg total.
Percentage of the keg that remains, as a value between 0 and 100.
UTC time when the keg was started or tapped, as an ISO8061 UTC timestamp.
Local time when the keg was completed, as an ISO8061 UTC timestamp. This should be no sooner than the time of the most recent drink. If the keg's `status` is not 'offline', this value is undefined.
True if the Keg is currently online.
The adminstrator's description of this keg.
Beverage type.
A common keg size.
Used in:
The unique identifier for this keg size.
The name of the size ("Half Barrel", "Pony keg", ...)
The volume of the size, in milliliters.
Describes a tap which is available for pouring beer.
Used in:
The unique identifier for this tap.
The name of the tap, a free-form string ("Main tap", "Wet bar", ...)
The name of the flow meter assigned to this tap. Deprecated in favor of 'meter'
The currently-connected meter, if any.
The currently-connected toggle, if any.
The currently-connected temperature sensor, if any.
The relay name of the tap.
Size of each flowmeter tick, in milliliters.
A longer description of the tap.
The temperature sensor for the tap, if any.
The last temperature log, if any.
The Keg currently assigned to the tap. May be unset if there is no keg configured.
The total number of records available for this request.
The maximum number of records returned in this request.
The position of the first record returned, among "total".
Message used for recording a new drink on the backend.
Name of the tap on which this drink was poured. This information is required, but this field may be omitted when the tap name is given elsewhere. (In the Kegweb API, the tap_name is part of the URL receiving the POST.)
The number of ticks, as reported by the flowmeter. Required.
The volume of the pour. If unspecified, the backend will use the current tap configuration to compute the pour's volume based on the value of "ticks".
The username responsible for the pour. If unspecified, this pour is treated as an anonymous pour.
The date and time of the pour, in seconds before "now", where "now" is the current time on the backend at the time the request is processed. If this field is unspecified, a default value of "0" (meaning "now") is assumed. This value is ignored if "record_date" is specified.
The absolute date and time of the pour, as an ISO8061 UTC timestamp. If specified and valid, this value supercedes any value given for "seconds_ago", which will be ignored.
The time taken, in seconds, to complete the pour.
The authentication token used to pour the drink.
If true, the pour is recorded as "spilled": no drink record will be generated, and all fields other than "tap_name" and the volume ("ticks", or "volume_ml" if given) are ignored. The volume will be added to the spilled total for the tap’s current keg.
Optional message from the user about the pour.
See Drink model.
Message used for recording a temperature sensor reading on the backend.
The name of the sensor, as stored in the backend.
The observed temperature, in degress centigrade.
The date of the reading, as an ISO8601 UTC timestamp. If this field is unspecified, the record_date will be the current time on the backend at the time the request is processed.
A session is a group of drinks occuring within the same time window. Every poured drink will be associated with exactly one session.
Used in:
, ,The unique identifier for this session.
The time this session was started, as an ISO8061 UTC timestamp.
The time this session ended, as an ISO8061 UTC timestamp.
Total volume poured during this session, in milliliters.
A name for this session.
The slugified name of this session.
Canonical URL for this object.
True if session is currently active.
Used in:
An administrator-defined sound file to play for certain pour events.
Used in:
The name of this event.
The predicate for the event. Not currently used.
The URL for the sound file to play during this event.
A specific username that this event applies to. Not currently used.
All configured controllers.
Recently-poured drinks.
Recent system events.
Kegs on tap.
All configured meters.
Site info.
Sound events.
All taps.
All toggles.
Current session (if there is one).
Currently-active users (if any).
Describes various events that happen in the system.
Used in:
The unqiue identifier for this event.
The kind of the event being reported. Current values: ``drink_poured``, ``session_started``, ``session_joined``, ``keg_tapped``, ``keg_ended``.
The time of this event, as an ISO8061 UTC timestamp.
If a drink caused this event (as in ``drink_poured``, ``session_started``, and ``session_joined``), this field gives its id.
If this event relates to a specific keg (as in most events), this field gives its id.
If this event relates to a specific session (as in ``drink_poured``, ``session_started``, and ``session_joined``), this field gives its id.
If this event relates to a specific user (as in ``drink_poured``, ``session_started``, and ``session_joined`` when the user is not anonymous), this field gives the user's id.
A log entry for a temperature sensor.
Used in:
,The unique identifier for this log entry.
The sensor id that produced this log entry.
The temperature, in degrees C.
The recording date, as an ISO8061 UTC timestamp.
A temperature sensor configured in the system.
Used in:
The unique identifier for this temperature sensor.
The raw/unique name of the sensor.
The friendly name for the sensor.
The most recent recording for this sensor.
A drinker registered in the kegbot system.
Used in:
, , ,The user's unique username.
A non-unique "display" name, if available.
The profile picture of the user. May be unset if the user does not have a profile picture.
True if the user is active. This value will be false for accounts which have been disabled by the admin.
The first name of the user. Not currently used.
The last name of the user. Not currently used.
The email address of the user. Only available to admin users.
The password of the user. Only available to admin users.
True if the user is a member of the system's staff. Only available to admin users.
True if the user is an administrator. Only available to admin users.
UTC time for the user's last login, as ISO8061 string. Only available to admin users.
UTC time for the user's registration, as ISO8061 string. Only available to admin users.
Canonical URL for this object.
Desired username.
User's e-mail address.
Initial password for logging in. If unspecified, the account will be registered with a random password, which can be e-mailed to the user.
One of "male", "female".
Twitter username.