You're viewing old version number 16. - Current version
Kinglet API
Messages
[X] GET /api/v1/messages
- homepage. stream. messages created by or sent to the logged in user.
[X] GET /api/v1/messages/page/3
- page three of the stream.
[X] GET /api/v1/messages/5
- retrieve message 5.
[X] POST /api/v1/messages
- create a new message.
GET /api/v1/messages/5/replies
- retrieve all reply messages for message 5.
[X] POST /api/v1/messages/5/replies
- create a reply message to message 5.
Users
GET /api/v1/users/JR
- retrieve user info for user name JR.
or @GET /api/v1/users/123 - retrieve user info for user id 123.
???? GET /api/v1/users/JR/id
- retrieve user id for user JR.
???? GET /api/v1/users/123/name
- retrieve user name for id 123.
POST /api/v1/users
- create a new user account.
PUT /api/v1/users/JR
- update user account for user name JR.
or PUT /api/v1/users/123
- update user account for user id 123.
POST /api/v1/users/login
- login user.
GET /api/v1/users/JR/logout
- logout user JR.
#kinglet - #api - #programming
From JR's : articles
150 words - 983 chars
created on
updated on
- #
source
- versions
Related articles
Cross-Origin Resource Sharing header - Jan 09, 2015
API-first-development design - Jun 23, 2014
Indieweb links aug 29, 2016 - Aug 29, 2016
Draftin.com WebHook URL info - Aug 09, 2013
Kinglet API - Mar 07, 2014
more >>