Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update device-status.yaml #131

Merged
merged 2 commits into from
Apr 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions code/API_definitions/device-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ info:

## Device roaming situation

The endpoint `POST /roaming` allows to get roaming status and country information (if device in roaming situation) synchronously.
The endpoint `POST /retrieve-roaming-status` allows to get roaming status and country information (if device in roaming situation) synchronously.

## Device connectivity situation

The endpoint `POST /connectivity` allows to get current connectivity status information synchronously.
The endpoint `POST /retrieve-connectivity-status` allows to get current connectivity status information synchronously.

## Device status subscription

Expand Down Expand Up @@ -99,7 +99,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.5.1-wip
version: wip
externalDocs:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/
Expand All @@ -120,7 +120,7 @@ tags:
description: Operation to manage event subscription on device status event (roaming, connectivity)

paths:
/connectivity:
/retrieve-connectivity-status:
post:
tags:
- Device connectivity status
Expand All @@ -129,7 +129,7 @@ paths:
operationId: getConnectivityStatus
security:
- openId:
- device-status:connectivity:read
- device-status:retrieve-connectivity-status:read
requestBody:
content:
application/json:
Expand Down Expand Up @@ -165,7 +165,7 @@ paths:
$ref: "#/components/responses/Generic500"
"503":
$ref: "#/components/responses/Generic503"
/roaming:
/retrieve-roaming-status:
post:
tags:
- Device roaming status
Expand All @@ -174,7 +174,7 @@ paths:
operationId: getRoamingStatus
security:
- openId:
- device-status:roaming:read
- device-status:retrieve-roaming-status:read
requestBody:
content:
application/json:
Expand Down