Skip to content

2016-sunrindicon-deep/deep-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

deep-backend

Contributor

restful api docs

  • Common Response

    HTTP 200: Success

    HTTP 400: DB error

    HTTP 401: Bad Request

    HTTP 403: Params Missing

  • POST /auth/login : Auto Login

Params

id_input : id [String]

pw_input : pw [String]

Response

HTTP 200 : UserID and token

HTTP 401 : Access Denied
  • POST /auth/signup : Auto Login

Params

id_input : id [String]

pw_input : pw [String]

email_input: email [String]

Response

HTTP 200 : UserID and token

HTTP 401 : Access Denied
  • POST /auth/auto : Auto Login

Params

token : token [String]

Response

HTTP 200 : UserID and token or apikey

HTTP 401 : Access Denied
  • POST /chat : Auto Login

Params

nickname : nickname [String]

opponent : opponent [String]

Response

HTTP 200 :  retudata chating token and nickname

HTTP 401 : Access Denied

User

id: user inherence id [Number]

token: user discrimination code [String]

user_id : User id [String required unique]

pw : User Password [String required]

email: user email [String]

nick_name: user name [String]

tag: cu [String array]

online: is user online now? [Boolean] (if user online will return true

firends [String array] (this array Contains ONLY inherence id)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •