kegs

Lists all Kegs in the system.

Reads follow site privacy; keg management requires an admin. Deleting a keg permanently destroys it and ALL of its drinks.

get/api/kegs

Request

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

Query parameters

cursorstring

The pagination cursor value.

page_sizeinteger

Number of results to return per page.

status'available' | 'finished' | 'on_tap'

Current keg state.

  • available - Available
  • on_tap - On tap
  • finished - Finished

Response

nextstring uri nullable
previousstring uri nullable

Example response

{
  "next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"",
  "previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3"
}

Changes

    • info

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