Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

Latest commit

 

History

History
29 lines (25 loc) · 629 Bytes

API.adoc

File metadata and controls

29 lines (25 loc) · 629 Bytes

REST API Version 1 Documentation

Caution
This document is WIP.
Messages
Create

POST /webapi/v1/messages

Read

GET /webapi/v1/messages?chat=<chat-id>&since=<ISO-datetime>&from=<username>

Update

not allowed

Delete

not allowed

User
Create
  1. POST /webapi/v1/users

Read
  1. GET /webapi/v1/users

  2. GET /webapi/v1/users/<username>

Update

ToDo

Delete
  1. DELETE /webapi/v1/users/<username>

Peer Chat
Create

on demand

Read
  1. GET /webapi/v1/chats/<chat-id>

  2. GET /webapi/v1/chats/?with=<username>

  3. GET /webapi/v1/chats/<username>/<username>

Update

not allowed

Delete

not allowed