Quantcast
Channel: The Things Network - Latest posts
Viewing all articles
Browse latest Browse all 116824

REST API: get your node data

$
0
0

Cool work Martijn! I'm updating the Android SDK.

I know this is all temporary, but I'm going to give a little comment. The "/nodes" and "/nodes/{node_eui}" endpoint send different data formats: the first sends Nodes, the second sends Packets. This is fine and it works, but I think it would be nicer (and more restful) to have

"/nodes" --> sends a list of nodes
"/nodes/{node_eui}" --> sends the specific node
"/packets?node_eui={node_eui}" --> sends all packets for the specific node

The symmetric remark holds for gateways. What do you reckon?


Viewing all articles
Browse latest Browse all 116824


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>