From a27bb48a0c8abb54f0b6360e7034268d5d930141 Mon Sep 17 00:00:00 2001 From: FieldAppEngineerCombain <149608611+FieldAppEngineerCombain@users.noreply.github.com> Date: Wed, 1 Nov 2023 17:24:18 +0100 Subject: [PATCH 1/9] Request to add Traxmate Webhook for TTI Integration --- traxmate | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 traxmate diff --git a/traxmate b/traxmate new file mode 100644 index 0000000..3a26940 --- /dev/null +++ b/traxmate @@ -0,0 +1,22 @@ +template-id: traxmate +name: Traxmate +description: Send data to Traxmate via TTI adapter +logo-url: https://traxmate.io/wp-content/uploads/2023/10/8429011b-92b9-4f53-b9fd-49285d29c437.png +info-url: https://traxmate.io +documentation-url: https://traxmate.io/support/getting-started/ +fields: + - id: token + name: Servicetoken + description: Traxmate API Servicetoken + secret: true + - id: devEUI + name: devEUI + description: Unique Hardware Identifier + secret: false +format: json +headers: + Authorization: Token {token} +create-downlink-api-key: true +base-url: http://online.traxmate.io:3000/capture/{token}/device/{devEUI} +paths: + uplink-message: From 9b3add1542e0f3a005bc777cf2fc210411baa95d Mon Sep 17 00:00:00 2001 From: FieldAppEngineerCombain <149608611+FieldAppEngineerCombain@users.noreply.github.com> Date: Fri, 3 Nov 2023 16:13:08 +0100 Subject: [PATCH 2/9] Update traxmate Removed the device integration path. Changed the base-url --- traxmate | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/traxmate b/traxmate index 3a26940..edf26ab 100644 --- a/traxmate +++ b/traxmate @@ -5,18 +5,15 @@ logo-url: https://traxmate.io/wp-content/uploads/2023/10/8429011b-92b9-4f53-b9fd info-url: https://traxmate.io documentation-url: https://traxmate.io/support/getting-started/ fields: + fields: - id: token name: Servicetoken description: Traxmate API Servicetoken secret: true - - id: devEUI - name: devEUI - description: Unique Hardware Identifier - secret: false format: json headers: Authorization: Token {token} create-downlink-api-key: true -base-url: http://online.traxmate.io:3000/capture/{token}/device/{devEUI} +base-url: https://capture.v1.traxmate.io/capture/{token} paths: uplink-message: From ca99817da4837119de176793a0be7650966e3094 Mon Sep 17 00:00:00 2001 From: BoJackHoman Date: Fri, 3 Nov 2023 18:28:46 +0100 Subject: [PATCH 3/9] updated traxmate.yml path and added row to templates.yml --- templates.yml | 1 + traxmate.yml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 traxmate.yml diff --git a/templates.yml b/templates.yml index 6cbaa37..0582a6e 100644 --- a/templates.yml +++ b/templates.yml @@ -28,3 +28,4 @@ - unaconnect - widgelix - wonderland +- traxmate \ No newline at end of file diff --git a/traxmate.yml b/traxmate.yml new file mode 100644 index 0000000..f60c1fe --- /dev/null +++ b/traxmate.yml @@ -0,0 +1,19 @@ +template-id: 31 +name: Traxmate +description: Send data to Traxmate via TTI adapter +logo-url: https://traxmate.io/wp-content/uploads/2023/10/8429011b-92b9-4f53-b9fd-49285d29c437.png +info-url: https://traxmate.io +documentation-url: https://traxmate.io/support/getting-started/ +fields: + - id: token + name: Servicetoken + description: Traxmate API Servicetoken - found under Settings -> Account + secret: true +format: json +headers: + Authorization: Token {token} +create-downlink-api-key: true +base-url: https://capture.v1.traxmate.io/capture/{token} +paths: + uplink-message: /device/up{/devID} + From 975cfe21ee6c9ddd7f084f91c9eda33264cad5e2 Mon Sep 17 00:00:00 2001 From: BoJackHoman Date: Fri, 3 Nov 2023 18:34:25 +0100 Subject: [PATCH 4/9] Removed /up in path --- traxmate | 19 ------------------- traxmate.yml | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 traxmate diff --git a/traxmate b/traxmate deleted file mode 100644 index edf26ab..0000000 --- a/traxmate +++ /dev/null @@ -1,19 +0,0 @@ -template-id: traxmate -name: Traxmate -description: Send data to Traxmate via TTI adapter -logo-url: https://traxmate.io/wp-content/uploads/2023/10/8429011b-92b9-4f53-b9fd-49285d29c437.png -info-url: https://traxmate.io -documentation-url: https://traxmate.io/support/getting-started/ -fields: - fields: - - id: token - name: Servicetoken - description: Traxmate API Servicetoken - secret: true -format: json -headers: - Authorization: Token {token} -create-downlink-api-key: true -base-url: https://capture.v1.traxmate.io/capture/{token} -paths: - uplink-message: diff --git a/traxmate.yml b/traxmate.yml index f60c1fe..736ad33 100644 --- a/traxmate.yml +++ b/traxmate.yml @@ -15,5 +15,5 @@ headers: create-downlink-api-key: true base-url: https://capture.v1.traxmate.io/capture/{token} paths: - uplink-message: /device/up{/devID} + uplink-message: /device{/devID} From f1f353b71499d85264c004982ee6716969f07898 Mon Sep 17 00:00:00 2001 From: FieldAppEngineerCombain <149608611+FieldAppEngineerCombain@users.noreply.github.com> Date: Tue, 7 Nov 2023 09:57:49 +0100 Subject: [PATCH 5/9] Update traxmate.yml from feedback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nejra Selimović --- traxmate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traxmate.yml b/traxmate.yml index 736ad33..feb9bd3 100644 --- a/traxmate.yml +++ b/traxmate.yml @@ -1,4 +1,4 @@ -template-id: 31 +template-id: traxmate name: Traxmate description: Send data to Traxmate via TTI adapter logo-url: https://traxmate.io/wp-content/uploads/2023/10/8429011b-92b9-4f53-b9fd-49285d29c437.png From a23685a40bb77e5fbfac5003d5b74df3dbdd5f38 Mon Sep 17 00:00:00 2001 From: FieldAppEngineerCombain <149608611+FieldAppEngineerCombain@users.noreply.github.com> Date: Mon, 4 Dec 2023 12:34:15 +0100 Subject: [PATCH 6/9] Update traxmate.yml Removed device path --- traxmate.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/traxmate.yml b/traxmate.yml index feb9bd3..0bf952b 100644 --- a/traxmate.yml +++ b/traxmate.yml @@ -13,7 +13,5 @@ format: json headers: Authorization: Token {token} create-downlink-api-key: true -base-url: https://capture.v1.traxmate.io/capture/{token} -paths: - uplink-message: /device{/devID} +base-url: https://capture.v1.traxmate.io/capture From 68c3580f21231d15cdd52a1eb2b3def2dafc5593 Mon Sep 17 00:00:00 2001 From: FieldAppEngineerCombain <149608611+FieldAppEngineerCombain@users.noreply.github.com> Date: Mon, 4 Dec 2023 12:40:51 +0100 Subject: [PATCH 7/9] Updated base url and headers --- traxmate.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/traxmate.yml b/traxmate.yml index 0bf952b..f558445 100644 --- a/traxmate.yml +++ b/traxmate.yml @@ -4,14 +4,16 @@ description: Send data to Traxmate via TTI adapter logo-url: https://traxmate.io/wp-content/uploads/2023/10/8429011b-92b9-4f53-b9fd-49285d29c437.png info-url: https://traxmate.io documentation-url: https://traxmate.io/support/getting-started/ + fields: - id: token name: Servicetoken description: Traxmate API Servicetoken - found under Settings -> Account secret: true + format: json headers: - Authorization: Token {token} + Content-Type: json create-downlink-api-key: true -base-url: https://capture.v1.traxmate.io/capture +base-url: https://capture.v1.traxmate.io/capture/service/{token} From 4018c56ab1964befa471f27b6b22848930398cb0 Mon Sep 17 00:00:00 2001 From: FieldAppEngineerCombain <149608611+FieldAppEngineerCombain@users.noreply.github.com> Date: Mon, 4 Dec 2023 12:47:31 +0100 Subject: [PATCH 8/9] Update traxmate.yml --- traxmate.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/traxmate.yml b/traxmate.yml index f558445..4fc00bc 100644 --- a/traxmate.yml +++ b/traxmate.yml @@ -11,7 +11,6 @@ fields: description: Traxmate API Servicetoken - found under Settings -> Account secret: true -format: json headers: Content-Type: json create-downlink-api-key: true From be44d0e08f0e06cf964be25682426d5b4e172692 Mon Sep 17 00:00:00 2001 From: FieldAppEngineerCombain <149608611+FieldAppEngineerCombain@users.noreply.github.com> Date: Wed, 6 Dec 2023 10:02:14 +0100 Subject: [PATCH 9/9] Updated header and added back format:json --- traxmate.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/traxmate.yml b/traxmate.yml index 4fc00bc..274f504 100644 --- a/traxmate.yml +++ b/traxmate.yml @@ -4,15 +4,14 @@ description: Send data to Traxmate via TTI adapter logo-url: https://traxmate.io/wp-content/uploads/2023/10/8429011b-92b9-4f53-b9fd-49285d29c437.png info-url: https://traxmate.io documentation-url: https://traxmate.io/support/getting-started/ - fields: - id: token name: Servicetoken description: Traxmate API Servicetoken - found under Settings -> Account secret: true - +format: json headers: - Content-Type: json + Content-Type: application/json create-downlink-api-key: true base-url: https://capture.v1.traxmate.io/capture/service/{token}