{"id":27810,"date":"2019-05-15T16:11:51","date_gmt":"2019-05-15T21:11:51","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=27810"},"modified":"2023-11-30T10:31:43","modified_gmt":"2023-11-30T16:31:43","slug":"lora","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mtr-software\/mtr-api-reference\/collection-endpoints\/lora\/","title":{"rendered":"lora"},"content":{"rendered":"<p>Description: lora API options are only available when LoRa Network Server is running (not available on MTR)<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<thead>\n<tr>\n<td valign=\"top\" width=\"173\"><b>Element<\/b><\/td>\n<td valign=\"top\" width=\"54\"><b>Type<\/b><\/td>\n<td valign=\"top\" width=\"331\"><b>Description<\/b><\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td valign=\"top\" width=\"173\">config<\/td>\n<td valign=\"top\" width=\"54\">&nbsp;<\/td>\n<td valign=\"top\" width=\"331\">show the current configuration of the network server<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">devices<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">list of device configurations in network server<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 DELETE<\/td>\n<td valign=\"top\" width=\"54\">UINT<\/td>\n<td valign=\"top\" width=\"331\">remove a device configuration<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 GET<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">get the list of device configurations<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 POST<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">add a device configuration<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 PUT<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">update a device configuration<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 keygen<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">generate a zero-touch appkey for an end-device<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">gateways<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">list of gateways connect to the network server<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 DELETE<\/td>\n<td valign=\"top\" width=\"54\">UINT<\/td>\n<td valign=\"top\" width=\"331\">remove a gateway from the list<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 GET<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">get the list of gateways<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">joinRequests<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">get the list of recent join requests<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">packets<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">list of packets sent and received by network server<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 GET<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">get the list of packets<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 down<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">list of downlink packets<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 join<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">list of join request and response packets<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 queue<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">list of packets queued for downlink<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 DELETE<\/td>\n<td valign=\"top\" width=\"54\">UINT<\/td>\n<td valign=\"top\" width=\"331\">remove an existing packet from the queue<br \/>Provide api\/lora\/packets\/queue\/&lt;DEV-EUI&gt;\/&lt;ID&gt; to delete one packet<br \/>Provide api\/lora\/packets\/queue\/&lt;DEV-EUI&gt; to delete all for one DEV-EUI<br \/>Provide api\/lora\/packets\/queue\/all to delete all queued downlinks for all devices<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 GET<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">get the list of packets<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 POST<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">add a new packet to the downlink queue<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 PUT<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">edit an existing packet in the queue<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 up<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">list of uplink packets<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">profiles<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">list of device or network profiles<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 device<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">list of device profiles for default end-device settings<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 DELETE<\/td>\n<td valign=\"top\" width=\"54\">UINT<\/td>\n<td valign=\"top\" width=\"331\">remove a device profile<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 GET<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">get the list of device profiles<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 POST<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">add a device profile<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 network<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">list of network profiles for desired end-device settings<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 DELETE<\/td>\n<td valign=\"top\" width=\"54\">UINT<\/td>\n<td valign=\"top\" width=\"331\">remove a network profile<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 GET<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">get the list of network profiles<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 POST<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">add a network profile<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">sessions<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">list of device sessions connected to the network server<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 DELETE<\/td>\n<td valign=\"top\" width=\"54\">UINT<\/td>\n<td valign=\"top\" width=\"331\">remove a device session<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 GET<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">get the list of device sessions<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 POST<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">add a device session<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Description: lora API options are only available when LoRa Network Server is running (not available on MTR) Element Type Description config &nbsp; show the current configuration of the network server devices ARRAY list of device configurations in network server \u00a0 DELETE UINT remove a device configuration \u00a0 GET ARRAY get the list of device configurations [&hellip;]<\/p>\n","protected":false},"author":1478,"featured_media":0,"parent":13129,"menu_order":34,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-27810","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/27810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/1478"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=27810"}],"version-history":[{"count":4,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/27810\/revisions"}],"predecessor-version":[{"id":33592,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/27810\/revisions\/33592"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13129"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=27810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}