Networks, devices, and sensors · GraphQL type

SSDPService type

A discovered SSDP service.

Fields

Field Name Description
from - String! Resolved IP address of the LOCATION header field.
ssdpType - String! Standard service types are denoted by urn:schemas-upnp-org:service: followed by a unique name assigned by a UPnP forum working committee, colon, and an integer version number e.g. "urn:schemas-upnp-org:service:WANIPConnection:2". One-to-one relationship with UPnP Service Templates. UPnP vendors may specify additional services; these are denoted by urn:domain-name:service: followed by a unique name assigned by the vendor, colon, and a version number, where domain-name is a Vendor Domain Name. For more information, see clause 2, “Description”.
usn - String! USN (Unique Service Name) header field e.g. "uuid:3e960a65-134d-45ed-8314-dbe0b8fc27c4::urn:schemas-upnp-org:service:WANIPConnection:2".
location - String! A URL for more information about the device (or enclosing device in the case of a service), sent in a LOCATION header field.
ssdpServer - String! Required. Specified by UPnP vendor. String. Field value shall begin with the following “product tokens” (defined by HTTP/1.1). The first product token identifies the operating system in the form OS name/OS version, the second token represents the UPnP version and shall be UPnP/2.0, and the third token identifies the product using the form product name/product version. For example, “SERVER: unix/5.1 UPnP/2.0 MyProduct/1.0” or "AmpliFi/AmpliFi/ UPnP/1.1 MiniUPnPd/2.1".
httpHeaders - [HttpHeader!] HTTP headers returned in the response.
maxAge - Int! MaxAge extracts "max-age" value from "CACHE-CONTROL" property.

Used by

  • SSDP type: Simple Service Discovery Protocol (SSDP) service.

Example

Example

{
  "from": "abc123",
  "ssdpType": "xyz789",
  "usn": "abc123",
  "location": "abc123",
  "ssdpServer": "xyz789",
  "httpHeaders": [HttpHeader],
  "maxAge": 987
}