Documentation ¶
Index ¶
- func BulkDecodeVIN(m mediator.Mediator) fiber.Handler
- func BulkDecodeVINCsv(m mediator.Mediator) fiber.Handler
- func GetDeviceDefinitionAll(m mediator.Mediator) fiber.Handler
- func GetDeviceDefinitionByID(m mediator.Mediator) fiber.Handler
- func GetDeviceDefinitionByMMY(m mediator.Mediator) fiber.Handler
- func GetDeviceIntegrationsByID(m mediator.Mediator) fiber.Handler
- func GetDeviceMakes(m mediator.Mediator) fiber.Handler
- func GetDeviceTypesByID(m mediator.Mediator) fiber.Handler
- func GetIntegrationByID(m mediator.Mediator) fiber.Handler
- func GetIntegrations(m mediator.Mediator) fiber.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BulkDecodeVIN ¶ added in v0.8.3
BulkDecodeVIN godoc @Summary gets a list of decoded vins. @ID BulkDecodeVIN @Description decodes a list of VINs @Tags device-definitions @Accept json @Param vins body []string true "vin array." @Produce json @Success 200 @Failure 404 @Failure 500 @Router /bulk-decode [post]
func BulkDecodeVINCsv ¶ added in v0.9.1
BulkDecodeVIN CSV godoc @Summary gets a list of decoded vins in csv format. @ID BulkDecodeVINCSV @Description decodes a list of VINs @Tags device-definitions @Accept json @Param vins body []string true "vin array." @Produce text/csv @Success 200 @Failure 404 @Failure 500 @Router /bulk-decode/csv [post]
func GetDeviceDefinitionAll ¶
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 ¶
GetDeviceDefinitionByID godoc @Summary gets a device definition @ID GetDeviceDefinitionByID @Description gets a device definition @Tags device-definitions @Param id path string true "device definition id" @Produce json @Success 200 {object} models.GetDeviceDefinitionQueryResult @Failure 404 @Failure 500 @Router /device-definitions/{id} [get]
func GetDeviceDefinitionByMMY ¶
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 @Param make query string true "make" @Param model query string true "model" @Param year query number true "year" @Produce json @Success 200 {object} models.GetDeviceDefinitionQueryResult @Failure 404 @Failure 500 @Router /device-definitions [get]
func GetDeviceIntegrationsByID ¶
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 @Param id path string true "device definition id" @Produce json @Success 200 @Failure 404 @Failure 500 @Router /device-definitions/{id}/integrations [get]
func GetDeviceMakes ¶ added in v0.6.7
GetDeviceMakes godoc @Summary gets all device makes @ID GetDeviceMakes @Description gets all device makes @Tags device-definitions @Produce json @Success 200 {object} grpc.GetDeviceMakeResponse @Failure 500 @Router /device-makes [get]
func GetDeviceTypesByID ¶ added in v0.2.0
GetDeviceTypesByID godoc @Summary gets a device type. @ID GetDeviceTypesByID @Description gets a devices type with attributes @Tags device-definitions @Param id path string true "device type id" @Produce json @Success 200 @Failure 404 @Failure 500 @Router /device-types/{id} [get]
func GetIntegrationByID ¶ added in v0.1.26
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 ¶
GetIntegrations godoc @Summary gets list of integrations we have defined. @ID GetIntegrations @Description gets list of integrations we have defined. @Tags device-definitions @Produce json @Success 200 @Failure 404 @Failure 500 @Router /integrations [get]
Types ¶
This section is empty.