Retrieve a list of device reachability status event subscription
Retrieve a list of device reachability status event subscription(s)
Returns
The unique identifier of the subscription in the scope of the subscription manager. When this information is contained within an event notification, this concept SHALL be referred as subscriptionId as per Commonalities Event Notification Model.
Date when the event subscription will expire. Only provided when subscriptionExpireTime is indicated by API client or Telco Operator has specific policy about that.
It must follow RFC 3339 and must have time zone.
Recommended format is yyyy-MM-dd’T’HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
Date when the event subscription will begin/began It must follow RFC 3339 and must have time zone. Recommended format is yyyy-MM-dd’T’HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
Retrieve a list of device reachability status event subscription
curl https://api.example.com/camara/devicereachabilitystatus/subscriptions \
-H "Authorization: Bearer $CAMARA_BEARER_TOKEN"[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"sink": "https://endpoint.example.com/sink",
"protocol": "HTTP",
"types": [
"org.camaraproject.device-reachability-status-subscriptions.v0.reachability-data"
],
"config": {
"subscriptionDetail": {},
"subscriptionExpireTime": "2024-07-17T13:18:23.682Z",
"subscriptionMaxEvents": 5,
"initialEvent": true
},
"startsAt": "2024-07-03T21:12:02.871Z",
"expiresAt": "2024-07-03T21:12:02.871Z",
"status": "ACTIVE"
}
][]{
"status": 400,
"code": "INVALID_ARGUMENT",
"message": "Client specified an invalid argument, request body or query param."
}{
"status": 401,
"code": "UNAUTHENTICATED",
"message": "Request not authenticated due to missing, invalid, or expired credentials. A new authentication is required."
}{
"status": 403,
"code": "PERMISSION_DENIED",
"message": "Client does not have sufficient permissions to perform this action."
}Returns Examples
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"sink": "https://endpoint.example.com/sink",
"protocol": "HTTP",
"types": [
"org.camaraproject.device-reachability-status-subscriptions.v0.reachability-data"
],
"config": {
"subscriptionDetail": {},
"subscriptionExpireTime": "2024-07-17T13:18:23.682Z",
"subscriptionMaxEvents": 5,
"initialEvent": true
},
"startsAt": "2024-07-03T21:12:02.871Z",
"expiresAt": "2024-07-03T21:12:02.871Z",
"status": "ACTIVE"
}
][]{
"status": 400,
"code": "INVALID_ARGUMENT",
"message": "Client specified an invalid argument, request body or query param."
}{
"status": 401,
"code": "UNAUTHENTICATED",
"message": "Request not authenticated due to missing, invalid, or expired credentials. A new authentication is required."
}{
"status": 403,
"code": "PERMISSION_DENIED",
"message": "Client does not have sufficient permissions to perform this action."
}