Qbit REST API
Base URI
{id}
{id}
To schedule a new message
Request body
Examples
Responses
Message scheduled successfully
{id}
Method to edit an scheduled message.
Path variables
Scheduled message id (unique identifier)
Request body
Examples
Responses
Scheduled message updated successfully
Identifier not found
{id}
{id}
To schedule a new posthumous message
Request body
Examples
Responses
Posthumous created successfully
{id}
Method to edit an scheduled posthumous message.
Path variables
Posthumous message id (unique identifier)
Request body
Examples
Responses
Posthumous message updated successfully
Identifier not found
{mobile}
{user_jid}
/qbits{user_jid}
/posthumous{user_jid}
/roomsMethod to add a user (register)
Request body
The validationUrl, oauthString, and password will be provided by the Digits API. The password is the token of the oauthString.
Examples
Responses
When it is a new user (not exists previously)
Body
When it is an existing user
Body
When the Digits validation fails
Body
{mobile}
Method to edit user info, for example to set a name, surname or birthday.
Path variables
Mobile number (unique identifier)
Request body
The fields are optional
Examples
Responses
Everything was right
The mobile does not exists
{user_jid}
/posthumousMethod to get all the posthumous messages scheduled by the given user
Path variables
Jabber ID of the user who has scheduled the given posthumous
Responses
Returns the list of the scheduled posthumous, otherwise it returns an empty list
Methods to manage the user rooms
{user_jid}
/rooms{user_jid}
/rooms/{muc_jid}
{user_jid}
/roomsMethod to add a new user room with the join timestamp.
Path variables
Jabber ID of the user who has joined the given room
Request body
Examples
Responses
Everyhing was OK
{user_jid}
/confidence-contacts{user_jid}
/confidence-contacts{user_jid}
/confidence-contactsMethod to update the confidence contacts of an user
Path variables
JID to update his/her confidence contacts