SPAD
Flows ¶
Service Collection ¶
Get SPAD information for this applicationGET/.well-known/spad/v0/spad
Example URI
GET /.well-known/spad/v0/spad
Response
200Headers
Content-Type: application/jsonBody
{
"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 serviceGET/.well-known/spad/v0/{service}
Example URI
GET /.well-known/spad/v0/service
URI Parameters
- service
string(required)- service name to lookup
Response
200Headers
Content-Type: application/jsonBody
{
"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"
}
}
}