Create up to 100 sources.
Sources to create.
required | Array of any (Items) [ 1 .. 10 ] items |
List of created sources.
The response for a bad request.
Validation Error
{- "items": [
- {
- "type": "mqtt3",
- "externalId": "my.known.id",
- "host": "string",
- "port": 1883,
- "authentication": {
- "type": "basic",
- "username": "string",
- "password": "string"
}, - "useTls": true,
- "caCertificate": {
- "type": "der",
- "certificate": "string"
}, - "authCertificate": {
- "key": "string",
- "keyPassword": "string",
- "type": "der",
- "certificate": "string"
}
}
]
}
{- "items": [
- {
- "type": "mqtt3",
- "externalId": "my.known.id",
- "host": "string",
- "port": 1883,
- "authentication": {
- "type": "basic",
- "username": "string"
}, - "useTls": true,
- "createdTime": 1730204346000,
- "lastUpdatedTime": 1730204346000,
- "caCertificate": {
- "thumbprint": "string",
- "expiresAt": 0
}, - "authCertificate": {
- "thumbprint": "string",
- "expiresAt": 0
}
}
]
}