welcome: please sign in

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
Шрифты

location: u / Stiletto / BnW / RESTfulDraft

   1 +   "register":             command_register.cmd_register,
   2 +   "search":               command_search.cmd_search,
   3 +   "interface":            command_interface.cmd_interface,
   4 +   "subscriptions/add":    command_subscription.cmd_subscribe,
   5 +   "subscriptions/del":    command_subscription.cmd_unsubscribe,
   6 +   "subscriptions":        command_subscription.cmd_subscriptions,
   7     "feed":                 command_show.cmd_feed,
   8 +   "today":                command_show.cmd_today,
   9 +   "show":                 command_show.cmd_show,
  10 +   "post":                 command_post.cmd_post,
  11 +   "comment":              command_post.cmd_comment,
  12     "recommend":            command_post.cmd_recommend,
  13 +   "on":                   command_onoff.cmd_on,
  14 +   "off":                  command_onoff.cmd_off,
  15 +   "delete":               command_delete.cmd_delete,
  16 +   "pm":                   command_pm.cmd_pm,
  17 +   "userlist":             command_userlist.cmd_userlist,
  18 +   "vcard":                command_vcard.cmd_vcard,
  19 +   "clubs":                command_clubs.cmd_clubs,
  20 +   "tags":                 command_clubs.cmd_tags,
  21     "passlogin":            command_login.cmd_passlogin,
  22     "blacklist":            command_bl.cmd_blacklist,
  23     "stat":                 command_stat.cmd_stat,
  24 +   "update":               command_update.cmd_update,
  25 +   "userinfo":             command_userinfo.cmd_userinfo,

Objects and actions

/messages/
    POST -- create post (replaces: post)
    GET -- list/search (replaces: show, today)
/messages/<id>
    PUT -- update (tags/clubs only, replaces: update)
    GET -- get (replaces: show -m)
    DELETE -- delete (replaces: delete)

/comments/<message>/
    POST -- create comment (replaces: comment)
    GET -- get comments for message (replaces: show -rm)

/comments/<message>/<id>
    GET -- get comment (replaces: nothing, maybe show -rm)
    DELETE -- delete comment (replaces: delete)

/subscriptions/
    GET -- get list (replaces: subscriptions)

/subscriptions/<type>/
    GET -- get list
    
/subscriptions/<type>/<target>
    POST -- create
    GET -- get
    DELETE -- delete

/users/
    GET -- list/query (replaces: userlist, whoami)
/users/<name>
    POST -- register (replaces: register)
    PUT -- change settings (replaces: interface, settings, vcard, on, off)
    GET -- get info (replaces: userinfo)

/search/
    GET -- search for messages and comments

/pm/<user>
    POST -- send a private message to <user>

/<clubs|tags>/
    GET -- get top of clubs/tags
/<clubs|tags>/<club|tag>
    GET -- get info about this club/tag (currently only message count)