kiolyn-api-specs
Version:
41 lines (40 loc) • 1.13 kB
YAML
/app/store/{storeid}/kiosks:
get:
tags:
- kiosk
description: return all the available kiosks inside given store
operationId: listKiosk
parameters:
- $ref#storeid: "../parameters/storeid.yaml"
responses:
$ref#4xx: "../responses/4xx.yaml"
200:
description: list of kiosks
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Station"
/app/store/{storeid}/kiosk/{kioskid}:
get:
tags:
- kiosk
description: return a kiosk with detail information for ordering
operationId: loadKiosk
parameters:
- $ref#storeid: "../parameters/storeid.yaml"
- name: kioskid
in: path
required: true
description: The kiosk station id
schema:
type: string
responses:
$ref#4xx: "../responses/4xx.yaml"
200:
description: all data needed for making an instore Order
content:
application/json:
schema:
$ref: "#/components/schemas/KioskOrderingStore"