swagger: "2.0" info: description: "This is API documentation for PyKiln, an open source web pages kiln controller that runs on an ESP32 running Micropython. Find out more at [http://www.pykiln.com](http://www.pykiln.com) " version: "1.0" title: "PyKiln API" termsOfService: "http://swagger.io/terms/" contact: email: "curlytalegames@gmail.com" license: name: "GNU General Public License v3.0" url: "https://www.gnu.org/licenses/gpl-3.0.en.html" host: "192.168.50.33" basePath: "/" tags: - name: "Settings" description: "Everything about your Pets" schemes: - "http" paths: /store/inventory: get: tags: - "Settings" summary: "Returns pet inventories by status" description: "Returns a map of status codes to quantities" operationId: "getInventory" produces: - "application/json" parameters: [] responses: "200": description: "successful operation" schema: type: "object" additionalProperties: type: "integer" format: "int32" /store/order: post: tags: - "Settings" summary: "Place an order for a pet" description: "" operationId: "placeOrder" produces: - "application/xml" - "application/json" parameters: - in: "body" name: "body" description: "order placed for purchasing the pet" required: true schema: $ref: "#/definitions/Order" responses: "200": description: "successful operation" schema: $ref: "#/definitions/Order" "400": description: "Invalid Order" /store/order/{orderId}: get: tags: - "Settings" summary: "Find purchase order by ID" description: "For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions" operationId: "getOrderById" produces: - "application/xml" - "application/json" parameters: - name: "orderId" in: "path" description: "ID of pet that needs to be fetched" required: true type: "integer" maximum: 10.0 minimum: 1.0 format: "int64" responses: "200": description: "successful operation" schema: $ref: "#/definitions/Order" "400": description: "Invalid ID supplied" "404": description: "Order not found" delete: tags: - "Settings" summary: "Delete purchase order by ID" description: "For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors" operationId: "deleteOrder" produces: - "application/xml" - "application/json" parameters: - name: "orderId" in: "path" description: "ID of the order that needs to be deleted" required: true type: "integer" minimum: 1.0 format: "int64" responses: "400": description: "Invalid ID supplied" "404": description: "Order not found" definitions: Order: type: "object" properties: id: type: "integer" format: "int64" petId: type: "integer" format: "int64" quantity: type: "integer" format: "int32" shipDate: type: "string" format: "date-time" status: type: "string" description: "Order Status" enum: - "placed" - "approved" - "delivered" complete: type: "boolean" default: false xml: name: "Order" externalDocs: description: "GitHub Repository" url: "https://github.com/CurlyTaleGamesLLC/PyKiln"