Hello Everyone,
I want to register my Gateway via API in TTN. I read the Gateway API documentation (Gateway APIs | The Things Stack for LoRaWAN) and I know how to make the post request to create a gateway. But the document does not explain, how to convey the Gateway credentials, for example, Gateway EUI.
Below is an example Post field to create a sensor via API
[
'end_device' => [
'ids' => [
'device_id' => test-device,
'dev_eui' => Sensor Eui,
'join_eui' => Sensor App Eui
],
'join_server_address' => 'eu1.cloud.thethings.network',
'network_server_address' => 'eu1.cloud.thethings.network',
'application_server_address' => 'eu1.cloud.thethings.network',
'name' => test-device
],
'field_mask' => [
'paths' => [
'join_server_address',
'network_server_address',
'application_server_address',
'ids.dev_eui',
'ids.join_eui',
'name'
]
Does anyone know about the Post field to send with the post request to create a Gateway via API?
Any leads would be highly appreciated. Thank you so much.
Kind regards,
Imran Khan