Register gateway initially with the gateway type and version
| Param name | Description |
|---|---|
|
pretty optional |
Return a pretty formatted response if true, Default is false Value: Must be a Boolean |
|
type optional |
Type of gateway e.g. Datonis Edge or other Value: Must be a String |
|
version optional |
Gateway version Value: Must be a String |
|
configuration optional |
Specify the gateway configuration as data URI Value: Must be a String |
Request - containing parameters to be registered
curl -X POST -H "Content-Type:application/json" -H "X-Auth-Token:WtUFnj8pvSxVnH9e_xkq7A" -d '{"gateway":{"gateway_key":"4ea741566a","gateway_version":"4.5.160","gateway_type":"kura","config":"hello world"}}' https://api.datonis.io/api/v3/gateways/register
Response
{
}