Route
HTTP API schema
Route fields
- pluginProfileId
string Stable profile ID selected from the registered plugin declaration. Required for V2 plugin discovery; retained with the route for admission and presentation.
minLength: 1
- id
stringRequired The persisted Port OS route identifier. Synchronized routes can receive a backend-generated, owner-scoped value here even when the discovery payload supplied an explicit route `id`; do not use this field as the stable plugin-owned route identity unless the synchronizing implementation explicitly documents preservation. Provider discovery and synchronization input use ProviderDiscoveredRoute, whose optional advisory ID does not carry this persisted-identity rule.
pattern: "^port1/[^/]+/[^/]+/routes/[^/]+$"
- associatedPluginId
stringRequired The ID of the associated plugin
- associatedPluginRouteId
stringRequired The stable plugin-owned route identifier associated with this Port OS route. For synchronized plugin capability contracts and fixture parity checks, use this field to match a route from enumeration back to the discovery payload.
- externalId
stringRequired The external ID of the route given by the reporting system
- associatedAuthLinkId
stringRequired The ID of the associated auth link
- associatedEndpointId
stringRequired The ID of the associated endpoint
- nameTypeValue
The name of the route as a human readable string or a localizable asset. This is either a raw string or a localizable asset reference.
- type
stringRequired The type identifier of the name value, defined as plain when not defined.
- value
stringRequired the raw value of a plain name.
- type
- interfaces
array<RouteInterface>Required List of interfaces supported by the route. These denote what the route is capable of performing such as turning off/on, etc.
- ItemRouteInterface
interfaces[]: Reference RouteInterface
- ontologicalTypes
array<string>Required List of ontological types for the route. These are used mostly for customers to know what an endpoint is, like if its a lightbulb, or a speaker, etc.
- Item
string
- Item
- pluginCustomMetadata
object A set of custom metadata that the plugin uses and attaches to the route, this is meant specifically for the plugin to use.
- descriptionTypeValue
The description of the route as a human readable string or a localizable asset.
- type
stringRequired The type identifier of the name value, defined as plain when not defined.
- value
stringRequired the raw value of a plain name.
- type
- manufacturerTypeValue
The manufacturer of the route as a human readable string or a localizable asset.
- type
stringRequired The type identifier of the name value, defined as plain when not defined.
- value
stringRequired the raw value of a plain name.
- type
- modelTypeValue
The model of the route as a human readable string or a localizable asset.
- type
stringRequired The type identifier of the name value, defined as plain when not defined.
- value
stringRequired the raw value of a plain name.
- type
- serialNumberTypeValue
The serial number of the route as a human readable string or a localizable asset.
- type
stringRequired The type identifier of the name value, defined as plain when not defined.
- value
stringRequired the raw value of a plain name.
- type