Summary
Get a list of providers
Description
Get a list of valid provider destinations
Route
GET /smart_template/destinations
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
This method has no parameters |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
destination_list |
array |
Array of Provider Ids |
Copied to Clipboard
[
{
"id": "pmSl0WokCQx",
"type": "COta",
"brokers": [
"service"
],
"groups": [
"4a1e929d-58d9-b6a3-7727-48107550a214"
],
"properties": {
"http": {
"host": "localhost",
"port": 8080
},
"netconf": {
"host": "localhost",
"port": 2022,
"protocol": "ssh",
"frame_size": 16376
},
"credentials": {
"user": "admin",
"passwd": "admin"
},
"commitWait": 10000,
"poolSize": 3,
"authenticationStrategy": {
"type": "machine",
"location": "myCustomCog",
"method": ""
},
"ssl": {
"enabled": false,
"acceptInvalidCerts": false,
"caFile": "",
"ciphers": "DHE-RSA-AES256-SHA"
}
}
},
{
"id": "ABVgqfJ5lBi",
"type": "MKlcn",
"brokers": [
"device"
],
"groups": [
"cdceae8a-f8eb-ee09-c914-00cdcc6cdfd1"
],
"properties": {
"http": {
"host": "localhost",
"port": 8080
},
"netconf": {
"host": "localhost",
"port": 2022,
"protocol": "ssh",
"frame_size": 16376
},
"credentials": {
"user": "admin",
"passwd": "admin"
},
"commitWait": 10000,
"poolSize": 3,
"authenticationStrategy": {
"type": "machine",
"location": "",
"method": ""
},
"ssl": {
"enabled": false,
"acceptInvalidCerts": false,
"caFile": "keys/key.pem",
"ciphers": ""
}
}
},
{
"id": "gaMU8",
"type": "YpAlTQT",
"brokers": [
"device"
],
"groups": [
"f7079aa8-290f-02c2-bf58-dff61477a858"
],
"properties": {
"http": {
"host": "127.0.0.1",
"port": 8080
},
"netconf": {
"host": "localhost",
"port": 2022,
"protocol": "ssh",
"frame_size": 16376
},
"credentials": {
"user": "admin",
"passwd": "admin"
},
"commitWait": 10000,
"poolSize": 3,
"authenticationStrategy": {
"type": "machine",
"location": "myCustomCog",
"method": ""
},
"ssl": {
"enabled": false,
"acceptInvalidCerts": false,
"caFile": "",
"ciphers": ""
}
}
}
]
Copied to Clipboard
{
"type": "array",
"minItems": 2,
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "[a-zA-Z0-9]+"
},
"type": {
"type": "string",
"pattern": "[a-zA-Z]+"
},
"brokers": {
"type": "array",
"items": [
{
"type": "string",
"enum": [
"device",
"service",
"compliance",
"persistence"
]
}
]
},
"groups": {
"type": "array",
"items": [
{
"type": "string",
"pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$"
}
]
},
"properties": {
"$ref": "adapterNSOSchema"
}
},
"required": [
"id",
"type",
"brokers",
"groups",
"properties"
]
}
}