Create QoS Session Resource | +||
---|---|---|
HTTP Request | +POST <base-url>/qod/v0/sessions | +|
Query Parameters | +No query parameters are defined | +|
Path Parameters | +No path parameters are defined | +|
Request Body Parameters | +duration (optional) | +Session duration in seconds. Maximal value of 24 hours is used if not set. e.g. 86400 | +
ueId | +
+ The identifier for the user equipment (device). The developer can choose to provide the below specified user equipment identifiers: +
NOTE: the MNO might support only a subset of these options. The API invoker can provide multiple identifiers to be compatible across different MNOs. In this case the identifiers MUST belong to the same UE + |
+ |
asId | +
+ The identifier used for application server. The developer can choose from the below application server identifiers: +
|
+ |
uePorts (optional) | +A list of single ports or port ranges on the user equipment, e.g. "uePorts": {"ranges": [{"from": 5010,"to": 5020}],"ports": [5060,5070]} |
+ |
asPorts (optional) | +A list of single ports or port ranges on the application server, e.g. "asPorts": {"ranges": [{"from": 5010,"to": 5020}],"ports": [5060,5070]} |
+ |
qos | +Qualifier for the requested latency/throughput profile, e.g. QOS_E | +|
notificationUri (optional) | +URI of the callback receiver. Allows asynchronous delivery of session related events, e.g. 'https://application-server.com/notifications' | +|
notificationAuthToken (optional) | +Authentication token for callback API, e.g. c8974e592c2fa383d4a3960714 | +|
Response | +200: Session created | +
+ Response body: + duration: Session duration in seconds + ueId: The identifier of the user equipment + asId: The identifer of the application server + uePorts (optional): The requested port(s) on the user equipment + asPorts (optional): The requested port(s) on the application server + qos: Qualifier of the requested throughput profile + notificationUri (optional): URI of the callback receiver + notificationAuthToken (optional): Authentication token for callback API + id: Session ID in UUID format, e.g. 123e4567-e89b-12d3-a456-426614174000 + startedAt: Timestamp of session start, in seconds since Unix epoch, e.g. 1639479600 + expiresAt: Timestamp of session expiration if the session was not deleted, in seconds since Unix epoch, e.g. 1639566000 + |
+
400: Invalid input | +||
401: Un-authorized | +||
403: Forbidden | +||
409: Conflict | +||
500: Server Error | +||
503: Service temporarily unavailable | +
Quering QoS Session Resource information | +||
---|---|---|
HTTP Request | +GET <base-url>/qod/v0/sessions/{sessionId} | +|
Query Parameters | +No query parameters are defined | +|
Path Parameters | +sessionId | +Session id that was obtained from the Create QoS Session operation | +
Request Body Parameters | +No request body parameters are defined | +|
Response | +200: Session information returned | +
+ Response body: + ueId: The identifier of the user equipment + asId: The identifier of the application server. + uePorts (optional): The requested port(s) on the user equipment + asPort (optional): The requested port(s) on the application server + qos: Qualifier of the requested QoS profile + notificationUri (optional): URI of the callback receiver + notificationAuthToken (optional): Authentication token for callback API + id: Session ID in UUID format + startedAt: Timestamp of session start in seconds since Unix epoch + expiresAt: Timestamp of session expiration if the session was not deleted in seconds since Unix epoch + |
+
401: Un-authorized | +||
403: Forbidden | +||
404: Session not found | +||
503: Service temporarily unavailable | +
Deleting QoS Session Resource | +||
---|---|---|
HTTP Request | +DELETE <base-url>/qod/v0/sessions/{sessionId} | +|
Query Parameters | +No query parameters are defined | +|
Path Parameters | +sessionId | +Session ID that needs to be terminated | +
Request Body Parameters | +No request body parameters are defined | +|
Response | +204: Session deleted | +|
401: Un-authorized | +||
403: Forbidden | +||
404: Session not found | +||
503: Service temporarily unavailable | +