LoRa_AuH
(Lo Ra Au H)
August 4, 2021, 6:58am
1
Good morning everyone,
Is there any API, that we can use to Create or Update the Payload Formatters (JavaScript) in TTN V3??
I went through the TTN API Documentation but could not find any. Any leads would be highly appreciated. Thanks.
Kind regards,
Imran Khan
descartes
(Nick McCloud)
August 4, 2021, 7:37am
2
Not that I’m aware of, but you can do it with the CLI
1 Like
KellyM
(Kelly M)
August 4, 2021, 8:12pm
3
descartes
(Nick McCloud)
August 4, 2021, 9:17pm
4
Good spot - I guess we’ll have to figure out the formatting of the JSON by formulating a get to see how it’s done as the only two examples for the formatter field set are both this:
{
"up_formatter": "FORMATTER_NONE",
"up_formatter_parameter": "",
"down_formatter": "FORMATTER_NONE",
"down_formatter_parameter": "",
}
You can create an issue on Github and request the documentation to be improved.