uri

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HrefKey     string = "Href"
	DeviceIDKey string = "deviceId"

	InterfaceQueryKey      string = "interface"
	SkipShadowQueryKey     string = "skipShadow"
	DeviceIDFilterQueryKey string = "deviceId"
	TypeFilterQueryKey     string = "type"

	API string = "/api/v1"
	// ocfcloud configuration
	ClientConfiguration = "/.well-known/ocfcloud-configuration"

	//devices
	Devices         = API + "/devices"
	Device          = Devices + "/{" + DeviceIDKey + "}"
	DeviceResources = Device + "/"

	//maintenance
	DeviceReboot       = Device + "/reboot"
	DeviceFactoryReset = Device + "/factory-reset"

	//ws
	WS                                = "/ws"
	WSDevices                         = API + WS + "/devices"
	WsStartDevicesObservation         = WSDevices
	WsStartDeviceResourcesObservation = WSDevices + "/{" + DeviceIDKey + "}"
	WsStartDeviceResourceObservation  = WsStartDeviceResourcesObservation + "/"
)

KiConnect API URIs.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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