uri

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 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 + "/"

	//certificate-authority
	CertificaAuthority     = API + "/certificate-authority"
	CertificaAuthoritySign = CertificaAuthority + "/sign"
)

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