You're viewing old version number 18. - Current version
Kinglet API
Each function is preceded with /api/v1
.
Messages
Each function ends with /username/userid/sessionid
.
example: GET /api/v1/messages/5/JR/23/ru8er03jjg3k40vjl09
[X] GET /messages
- homepage. stream. messages created by or sent to the logged in user.
[X] GET /messages/page/3
- page three of the stream.
[X] GET /messages/5
- retrieve message 5.
[X] POST /messages
- create a new message.
[X] GET /messages/5/replies
- retrieve all reply messages for message 5.
[X] POST /messages/5/replies
- create a reply message to message 5.
Users
GET /users/JR
- retrieve user info for user name JR.
or @GET /users/123 - retrieve user info for user id 123.
???? GET /users/JR/id
- retrieve user id for user JR.
???? GET /users/123/name
- retrieve user name for id 123.
POST /users
- create a new user account.
PUT /users/JR
- update user account for user name JR.
or PUT /users/123
- update user account for user id 123.
POST /users/login
- login user.
GET /users/JR/logout
- logout user JR.
#kinglet - #api - #programming
From JR's : articles
164 words - 1035 chars
created on
updated on
- #
source
- versions
Related articles
July 2016 ToDo - Implement Micropub spec in JavaScript editor - Jul 14, 2016
Grebe API - Old Page - Jul 18, 2014
Cross-Origin Resource Sharing header - Jan 09, 2015
API-first-development design - Jun 23, 2014
Indieweb links aug 29, 2016 - Aug 29, 2016
more >>