UNIT-SCE

Usage: Service Interface

 

Variable DataType Semantic
subject String(32) short description
description String(128) detailed description
url String(128) URL that may contain optional parameters:
$unit:
will be replaced by a UP-URI
$token:
will be replaced by the token value of a tok-UNIT
$email:
will be replaced by an Email-Address

 

Example - Public Videoconfrence

GET www.goohoo.com/unit/sce/service/services.com?id=pubvid
subject Public Videoconference
description Videoconference via Webrtc without any security
url https://www.united-pages.com/wsw/mainup.html?room=$unit&member=$email&privacy=false

When the service is called via a cal-UNIT the parameters of the url are replaced  and http-encoded e.g.
https://www.united-pages.com/wsw/mainup.html?room=cal%2Fpraxis%40medicus.de&member=john.doe%40goohoo.com&privacy=false

 

Example - Private Videoconfrence

GET www.goohoo.com/unit/sce/service/services.com?id=privvid
subject Private Videoconference
description Videoconference via Webrtc only for authorized users
url https://www.united-pages.com/wsw/mainup.html?room=$unit&member=$email&token=$token

When the service is called via a cal-UNIT the parameters of the url are replaced and http-encoded e.g.
https://www.united-pages.com/wsw/mainup.html?room=cal%2Fpraxis%40medicus.de&member=john.doe%40goohoo.com&token=ttt123

 

Example - Webportal without password

GET www.united-pages.com/unit/sce/service/services.com?id=servxy
subject ... Portal
description This is a Webportal for ....
url https://www.servicexy.de/login.html?user=$email&tok=$token

The url is called after an UP-Application or a UP-Webserver has created a tok-UNIT e.g.
https://www.service.xy.com/login.html?user=john.doe%40gohoo.com&tok=159264

 

*HTTP-Encoding

Value HTTP-Encoding
@ %40
= %3D
? %3F
/ %2F
& %26