CloudServices/Loop: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "{{LastUpdated}} {{Draft}} =APIs= # A "*" means this URI requires authentication (you should pass a valid # BrowserID assertion). * POST /registration/ → Associates a S...")
 
No edit summary
Line 2: Line 2:


{{Draft}}
{{Draft}}
=Overview=
XXX
=Definitions=
XXX


=APIs=
=APIs=


# A "*" means this URI requires authentication (you should pass a valid
  A "*" means this URI requires authentication (you should pass a valid BrowserID assertion).
# BrowserID assertion).
 
 
'''POST /registration'''
Associates a Simple Push Endpoint (URL) with the authenticated user. (Requires a "simple_push_url" parameter.)
 
 
'''POST /call-url'''
Create the call url a callee can click on. (Requires "remote_id" and "valid_duration" parameters).
 
 
'''GET  /calls/{token}'''
Get the app (that's the url in question, which displays an app) (No parameter required.)


* POST /registration/  →  Associates a Simple Push Endpoint (URL)
                          with the authenticated user.
                          (Requires a "simple_push_url" parameter.)


* POST /call-url/     →  Create the call url a callee can click on.
'''POST /calls/{token}'''
                          (Requires "remote_id" and "valid_duration"
Add an incoming call (does a simple push notif and gets room tokens), return participant tokens. (No parameter required.)
                          parameters).


  GET  /calls/{token}  →  Get the app (that's the url in question, which
                          displays an app)
                          (No parameter required.)


  POST /calls/{token}  →  Add an incoming call (does a simple push notif
'''GET  /calls/'''
                          and gets room tokens), return participant tokens.
                          (No parameter required.)


* GET  /calls/        →  List incoming calls for the authenticated user.
List incoming calls for the authenticated user. (No parameter required.)
                          (No parameter required.)

Revision as of 08:31, 13 March 2014

Last updated: 2014/03/13
Draft-template-image.png THIS PAGE IS A WORKING DRAFT Pencil-emoji U270F-gray.png
The page may be difficult to navigate, and some information on its subject might be incomplete and/or evolving rapidly.
If you have any questions or ideas, please add them as a new topic on the discussion page.

Overview

XXX

Definitions

XXX

APIs

 A "*" means this URI requires authentication (you should pass a valid BrowserID assertion).


POST /registration Associates a Simple Push Endpoint (URL) with the authenticated user. (Requires a "simple_push_url" parameter.)


POST /call-url Create the call url a callee can click on. (Requires "remote_id" and "valid_duration" parameters).


GET /calls/{token} Get the app (that's the url in question, which displays an app) (No parameter required.)


POST /calls/{token} Add an incoming call (does a simple push notif and gets room tokens), return participant tokens. (No parameter required.)


GET /calls/

List incoming calls for the authenticated user. (No parameter required.)