Skip to content

ocilo/omni-chat-server-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omni-chat server API

Description

Express middleware to handle the omni-chat API.

Install

npm install
gulp install.noNpm
gulp build.node

API

GET /

GET /accounts

POST /accounts

Parameters:

Name Type Description
login string 3-32 characters, will be normalized to lowercase
password string 8+ characters

Example:

{
    "login": "Demurgos",
    "password": "p4ssw0rd"
}

Response:

{
    "_id": "570fcc0f3158b8b00549505a",
    "login": "demurgos"
}

GET /accounts/:id

About

The server API for omni-chat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published