Skip to content

Commit

Permalink
Merge branch 'main' into prepare-release-r1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
akoshunyadi authored Aug 28, 2024
2 parents ae5febf + 33d97c3 commit e41882f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 141 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
Repository to describe, develop, document and test the DeviceStatus API family

## Scope
* Service APIs for “Device Status” (see APIBacklog.md)
* Service APIs for “Device Status” (see [APIBacklog.md](https://github.com/camaraproject/APIBacklog/blob/main/documentation/APIbacklog.md))
* It provides the customer with the ability to:
* check if a device is losing connection to the network or gets reachable again, and the roaming status.
- check if a device is reachable or has lost connectivity to the network
- check if a device is roaming, and in which country
- receive notifications if the connectivity or roaming status of the device changes
* Describe, develop, document and test the APIs (with 1-2 Telcos)
* Started: July 2022

Expand Down
18 changes: 0 additions & 18 deletions code/API_definitions/device-reachability-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ paths:
$ref: "#/components/responses/Generic403"
"404":
$ref: "#/components/responses/Generic404"
"405":
$ref: "#/components/responses/Generic405"
"406":
$ref: "#/components/responses/Generic406"
"415":
Expand Down Expand Up @@ -361,22 +359,6 @@ components:
status: 404
code: DEVICE_NOT_FOUND
message: Some identifier cannot be matched to a device
Generic405:
description: Method Not Allowed
headers:
x-correlator:
$ref: "#/components/headers/x-correlator"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorInfo"
examples:
GENERIC_405_METHOD_NOT_ALLOWED:
description: Invalid HTTP verb used with a given endpoint
value:
status: 405
code: METHOD_NOT_ALLOWED
message: The requested method is not allowed/supported on the target resource.
Generic406:
description: Not Acceptable
headers:
Expand Down
10 changes: 7 additions & 3 deletions code/API_definitions/device-roaming-status-subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -907,13 +907,17 @@ components:
TerminationReason:
type: string
description: |
NETWORK_TERMINATED - API server stopped sending notification
SUBSCRIPTION_EXPIRED - Subscription expire time (optionally set by the requester) has been reached
SUBSCRIPTION_DELETED - Subscription was deleted by the requester
- NETWORK_TERMINATED - API server stopped sending notification
- SUBSCRIPTION_EXPIRED - Subscription expire time (optionally set by the requester) has been reached
- SUBSCRIPTION_DELETED - Subscription was deleted by the requester
- MAX_EVENTS_REACHED - Maximum number of events (optionally set by the requester) has been reached
- ACCESS_TOKEN_EXPIRED - Access Token sinkCredential (optionally set by the requester) expiration time has been reached
enum:
- NETWORK_TERMINATED
- SUBSCRIPTION_EXPIRED
- SUBSCRIPTION_DELETED
- MAX_EVENTS_REACHED
- ACCESS_TOKEN_EXPIRED

responses:
CreateSubscriptionBadRequest400:
Expand Down
18 changes: 0 additions & 18 deletions code/API_definitions/device-roaming-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ paths:
$ref: "#/components/responses/Generic403"
"404":
$ref: "#/components/responses/Generic404"
"405":
$ref: "#/components/responses/Generic405"
"406":
$ref: "#/components/responses/Generic406"
"415":
Expand Down Expand Up @@ -385,22 +383,6 @@ components:
status: 404
code: DEVICE_NOT_FOUND
message: Some identifier cannot be matched to a device
Generic405:
description: Method Not Allowed
headers:
x-correlator:
$ref: "#/components/headers/x-correlator"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorInfo"
examples:
GENERIC_405_METHOD_NOT_ALLOWED:
description: Invalid HTTP verb used with a given endpoint
value:
status: 405
code: METHOD_NOT_ALLOWED
message: The requested method is not allowed/supported on the target resource.
Generic406:
description: Not Acceptable
headers:
Expand Down
100 changes: 0 additions & 100 deletions documentation/API_documentation/Connectivity_API.md

This file was deleted.

Binary file not shown.
File renamed without changes.

0 comments on commit e41882f

Please sign in to comment.