You're viewing old version number 6. - Current version

1 min

Feb 2014 changes to make to Kinglet

  • modify any necessary JSON returned by API

Features to Add

Delete Message

  • ability to delete a message sent?
    • unsure about this. will not implement for now.

Approved List

  • User A requests to be added to a user B's accepted or approved list in order for User A to message User B. It would then be up to User B to make the same request of User A. One action does not automatically enable the other.
  • actions by User B when receiving the request:
    • accept
    • reject
  • both response types can be changed later
  • a user can send a request to be added to approve list only one time.
  • the response is returned to the requesting user
  • when User A messages User B, if A is not on B's accepted list, return error message with info:
    • telling A to send a request to B to be added to B's approved list
    • or remind A that A already requested to be added to B's approved list, and B rejected the request.

If User A wants to message himself, then no need to make such a request to himself.

Things to do to support the approved list feature:

  • create database table
  • create API commands.
    • will this be added to the "users" section of the API, or should a new section be created called "lists?"
    • request - to be added to a recipient's approved list - GET - /lists/request/mrx -
    • reject - the request - GET
    • approve - the request - GET
    • show - the list of requests of requests received so that a user can change the reject/approve function - GET

Should I create an action that allows a users to view all requests made? Not right now. Unsure if this needed. A user could simply try to make a new request, and the system will return the appropriate response.

#kinglet - #kinglettodo

From JR's : articles
310 words - 1667 chars - 1 min read
created on
updated on - #
source - versions

Related articles
Feb 2014 changes to make to Kinglet - Feb 25, 2014
Kinglet Directory - Dec 02, 2013



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Nov 15, 2024 - 6:27 a.m. EST