handlers

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeviceDefinitionAll

func GetDeviceDefinitionAll(m mediator.Mediator) fiber.Handler

GetDeviceDefinitionAll godoc @Summary gets all device definitions by Makes, models, and years @ID GetDeviceDefinitionAll @Description gets a device definition @Tags device-definitions @Accept json @Produce json @Success 200 @Failure 500 @Router /device-definitions/all [get]

func GetDeviceDefinitionByID

func GetDeviceDefinitionByID(m mediator.Mediator) fiber.Handler

GetDeviceDefinitionByID godoc @Summary gets a device definition @ID GetDeviceDefinitionByID @Description gets a device definition @Tags device-definitions @Accept json @Produce json @Success 200 @Failure 404 @Failure 500 @Router /device-definitions/{id} [get]

func GetDeviceDefinitionByMMY

func GetDeviceDefinitionByMMY(m mediator.Mediator) fiber.Handler

GetDeviceDefinitionByMMY godoc @Summary gets a specific device definition by make model and year. @ID GetDeviceDefinitionByMMY @Description gets a specific device definition by make model and year. @Tags device-definitions @Accept json @Produce json @Success 200 @Failure 404 @Failure 500 @Router /device-definitions [get]

func GetDeviceIntegrationsByID

func GetDeviceIntegrationsByID(m mediator.Mediator) fiber.Handler

GetDeviceIntegrationsByID godoc @Summary gets all the available integrations for a device definition. @ID GetDeviceIntegrationsByID @Description gets all the available integrations for a device definition. Includes the capabilities of the device with the integration @Tags device-definitions @Accept json @Produce json @Success 200 @Failure 404 @Failure 500 @Router /device-definitions/{id}/integrations [get]

func GetDeviceMakes added in v0.6.7

func GetDeviceMakes(m mediator.Mediator) fiber.Handler

GetDeviceMakes godoc @Summary gets all device makes @ID GetDeviceMakes @Description gets all device makes @Tags device-definitions @Accept json @Produce json @Success 200 @Failure 500 @Router /device-makes [get]

func GetDeviceTypesByID added in v0.2.0

func GetDeviceTypesByID(m mediator.Mediator) fiber.Handler

GetDeviceTypesByID godoc @Summary gets a device type. @ID GetDeviceTypesByID @Description gets a devices type with attributes @Tags device-definitions @Accept json @Produce json @Success 200 @Failure 404 @Failure 500 @Router /device-types/{id} [get]

func GetIntegrationByID added in v0.1.26

func GetIntegrationByID(m mediator.Mediator) fiber.Handler

GetIntegrationByID godoc @Summary gets integration by id. @ID GetIntegrationByID @Description gets integration by id. @Tags device-definitions @Accept json @Produce json @Success 200 @Failure 404 @Failure 500 @Router /integrations/{id} [get]

func GetIntegrations

func GetIntegrations(m mediator.Mediator) fiber.Handler

GetIntegrations godoc @Summary gets list of integrations we have defined. @ID GetIntegrations @Description gets list of integrations we have defined. @Tags device-definitions @Accept json @Produce json @Success 200 @Failure 404 @Failure 500 @Router /integrations [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL