From 5ec16452fc6ea25ba3bf9fe3c7a2391e8ea0e10e Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Wed, 5 Nov 2025 13:50:39 +0100 Subject: [PATCH 1/4] Add examples for roaming status retrieval Added examples for retrieving roaming status based on phone number, IPv4, and IPv6 addresses in the device-roaming-status.yaml file. --- .../device-roaming-status.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/code/API_definitions/device-roaming-status.yaml b/code/API_definitions/device-roaming-status.yaml index 153bf1e..086324c 100644 --- a/code/API_definitions/device-roaming-status.yaml +++ b/code/API_definitions/device-roaming-status.yaml @@ -120,6 +120,31 @@ paths: application/json: schema: $ref: "#/components/schemas/RoamingStatusRequest" + examples: + INPUT_PHONE_NUMBER: + summary: Phone number + description: Retrieve roaming status for a device identified by a phone number + value: + device: + phoneNumber: "+123456789" + INPUT_IP_ADDRESS_V4: + summary: IPv4 address + description: Retrieve roaming status for a device identified by an IPv4 address + value: + device: + ipv4Address: + publicAddress: 123.234.1.2 + publicPort: 1234 + INPUT_IP_ADDRESS_V6: + summary: IPv6 address + description: Retrieve roaming status for a device identified by an IPv6 address + value: + device: + ipv6Address: 2001:db8:85a3:8d3:1319:8a2e:370:7344 + INPUT_NO_DEVICE: + summary: Device not provided + description: The device has to be deducted from token + value: required: true responses: "200": From 8309ce5c26b4b0d9f1052a36032984535ed62b51 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Wed, 5 Nov 2025 13:55:18 +0100 Subject: [PATCH 2/4] Fix YAML formatting for device roaming status --- code/API_definitions/device-roaming-status.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/code/API_definitions/device-roaming-status.yaml b/code/API_definitions/device-roaming-status.yaml index 086324c..aa4352a 100644 --- a/code/API_definitions/device-roaming-status.yaml +++ b/code/API_definitions/device-roaming-status.yaml @@ -145,6 +145,7 @@ paths: summary: Device not provided description: The device has to be deducted from token value: + {} required: true responses: "200": From 40b38bf3fcbf15e16b505254e0a7b854caeb9a6a Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Mon, 22 Dec 2025 08:23:13 +0100 Subject: [PATCH 3/4] Update code/API_definitions/device-roaming-status.yaml Co-authored-by: Axel Nennker --- code/API_definitions/device-roaming-status.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/API_definitions/device-roaming-status.yaml b/code/API_definitions/device-roaming-status.yaml index aa4352a..4288cb1 100644 --- a/code/API_definitions/device-roaming-status.yaml +++ b/code/API_definitions/device-roaming-status.yaml @@ -140,7 +140,7 @@ paths: description: Retrieve roaming status for a device identified by an IPv6 address value: device: - ipv6Address: 2001:db8:85a3:8d3:1319:8a2e:370:7344 + ipv6Address: "2001:db8:85a3:8d3:1319:8a2e:370:7344" INPUT_NO_DEVICE: summary: Device not provided description: The device has to be deducted from token From 7924989f732ccbf223b53506a481782b825dbe1c Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Mon, 22 Dec 2025 08:23:24 +0100 Subject: [PATCH 4/4] Update code/API_definitions/device-roaming-status.yaml Co-authored-by: Axel Nennker --- code/API_definitions/device-roaming-status.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/API_definitions/device-roaming-status.yaml b/code/API_definitions/device-roaming-status.yaml index 4288cb1..039b464 100644 --- a/code/API_definitions/device-roaming-status.yaml +++ b/code/API_definitions/device-roaming-status.yaml @@ -133,7 +133,7 @@ paths: value: device: ipv4Address: - publicAddress: 123.234.1.2 + publicAddress: "123.234.1.2" publicPort: 1234 INPUT_IP_ADDRESS_V6: summary: IPv6 address