Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Resource

Method

Description/Payload schema/Response schema

api/sessions

GET,POST

api/sessions/SESSIONID

DELETE

api/users

GET

api/usersuser/USERID/messages

GET

should support/encourage a stream-based interface

api/usersuser/USERID/followees

GET

api/usersuser/USERID/followers

GET

api/usersuser/USERID/followees/USERID

POST,DELETE

or POST api/users/USERID/followees?user=USERID2

api/usersuser/USERID/tracks

GET,POST

api/usersuser/USERID/tracks/TRACKID

DELETE

api/users/USERIDuser/actions

GET,POST

api/usersuser/USERID/actions/ACTIONID

PUT,DELETE

api/messages/MESSAGEID

GET,PUT?,DELETE?

api/messages

GET,POST

api/tags

GET

Return all of the tags, or user-specific tags (GET api/tags/USERID?) and let the front-end decide what to do with it.

api/tags/TAGID

GET

Gets the information about a particular tag

api/conversations/CONVERSATIONID

GET

...

  • ESME API instance (api/)
    • Sessions (api/sessions)Users (api/users)
    • Messages posted by a logged in user (api/usersuser/USERID/messages) (1)
    • Users followed by a logged in user (api/usersuser/USERID/followees)
    • Users following a logged in user (api/usersuser/USERID/followers)
    • Trackers belonging to a logged in user (api/users/USERIDuser/tracks)
    • Actions belonging to a logged in user (api/users/USERIDuser/actions)
    • Messages (api/messages) (1)
    • Tags (api/tags) (1)
    • Conversations (api/conversations) (1)
    • Pools (api/pools) (1)
      • ?
    • Searches ?? (1)
    • Trends ??

...