Services/KeyExchange: Difference between revisions

Jump to navigation Jump to search
Line 93: Line 93:
'''GET''' '''https://''server''/new_channel'''
'''GET''' '''https://''server''/new_channel'''


   Returns in the response body a random channel id of N chars from [a-z0-9],
   Returns in the response body a JSON-encoded random channel id of N chars  
  followed by a suggested length for the password the client should use.
  from [a-z0-9].
  The response is a JSON-encoded list of two element. Example: ["dfc", 6] 
 
  When the API is called, The id returned is  guaranteed to be unique.
  The channel created will have a limited ttl (currently configured to 5 minutes).
      
      
  When the API is called, The id returned is guaranteed to be unique.
  The channel created will have a limited ttl (currently configured to
  5 minutes).
     
   Return codes:
   Return codes:
     - 200: channel created successfully   
     - 200: channel created successfully   
Confirmed users
927

edits

Navigation menu