How can we help?

Searching:

0 results found

Gateways/Post

POST /odata/gateways

 

Description:

Creating a new Gateway

 

Request – Gateways/Post
Property Type Description Mandatory
name String The name of the gateway
namespace String (Internal Use) The K8S namespace where the gateway is deployed Internal Use
type Enum The type of the gateway

– HttpGatewayProducer – 7  – http gateway endpoint

– IotHubGateway – 8 – iothub endpoint

Yes
datastructureEndpoint String Not in use
authKey String The authentication header for the HTTP gateway endpoint – created internally.
iothubUrl String The IoT hub connection string for IoT Hub endpoint – created internally.
gatewayDeviceId String The id of the device that acts as a virtual device gateway
productId String The product of the device that acts as a virtual device gateway. In addition, it’s the default product when devices are created with auto discovery.
image String Not in use
port Integer The port for the HTTP gateway endpoint – created internally.
ip String The IP for the HTTP gateway endpoint – created internally.
url String The URL of the HTTP gateway endpoint –  created internally.
status Enum The status of the gateway

–        Installed – 0 – the gateway is deployed

–        Deleted – 1 – the gateway is deleted

–        NotInstalled – 2 – the gateway is not deployed

manufacturer String The device manufacturer

 

Example JSON Gateways/Post request.

 

Example Response Gateways/Post