Networks, devices, and sensors · GraphQL type

UpnpService type

UPnP service is a logical functional unit. Smallest units of control. Exposes actions and models the state of a physical device with state variables.

Fields

Field Name Description
serviceType - String! Sent once for each device, root or embedded, where serviceType and ver are defined by UPnP Forum working committee e.g. "urn:schemas-upnp-org:service:Layer3Forwarding:1".
serviceId - String! Service identifier. Shall be unique within this device description e.g. "urn:upnp-org:serviceId:L3Forwarding1".
scpdUrl - String URL for service description. Shall be relative to the URL at which the device description is located in accordance with clause 5 of RFC 3986. Specified by UPnP vendor.
controlUrl - String URL for control. Shall be relative to the URL at which the device description is located in accordance with clause 5 of RFC 3986. Specified by UPnP vendor.
eventSubUrl - String URL for eventing (see clause 4, “Eventing”). shall be relative to the URL at which the device description is located in accordance with clause 5 of RFC 3986. Shall be unique within the device; any two services shall not have the same URL for eventing. If the service has no event variables, this element shall be present but shall be empty. Specified by UPnP vendor.

Used by

  • UpnpDevice type: Universal Plug and Play (UPnP) logical device advertises its presence and the services it provides on the network(s).

Example

Example

{
  "serviceType": "abc123",
  "serviceId": "xyz789",
  "scpdUrl": "xyz789",
  "controlUrl": "xyz789",
  "eventSubUrl": "xyz789"
}