Back to top

SPAD

Flows

Service Collection

Get SPAD information for this application
GET/.well-known/spad/v0/spad

Example URI

GET /.well-known/spad/v0/spad
Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "domain": "example.com",
  "services": [
    {
      "name": "message",
      "validTill": "Fri 11 Nov 2016 22:20:08 UTC",
      "flows": [
        {
          "ips": [
            "203.0.113.2",
            "2001:db8::1"
          ],
          "port": 443,
          "name": "example.com",
          "protocol": "udp",
          "qos": "CS1"
        }
      ]
    }
  ]
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string"
    },
    "services": {
      "type": "array"
    }
  }
}

Service Collection

Get SPAD information for this service
GET/.well-known/spad/v0/{service}

Example URI

GET /.well-known/spad/v0/service
URI Parameters
HideShow
service
string (required) 
  • service name to lookup
Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "name": "message",
  "validTill": "Fri 11 Nov 2016 22:20:08 UTC",
  "flows": [
    {
      "ips": [
        "203.0.113.2",
        "2001:db8::1"
      ],
      "port": 443,
      "name": "example.com",
      "protocol": "udp",
      "qos": "CS1"
    }
  ]
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "validTill": {
      "type": "string"
    },
    "flows": {
      "type": "array"
    }
  }
}

Generated by aglio on 23 Dec 2016