Skip to content

Undocumented API calls

rebane621 edited this page Aug 14, 2016 · 12 revisions

DMAIL

dmail/inbox

Information
Login required yes
Is POST no
Parameter list
visibility { "hidden", anything } optional, filter for hidden DMails, will show both if set and not "hidden"

Shows all messages related to your account (if you choose to copy out-going messages to your inbox they'll be listed here as well)

dmail/hide

Information
Login required yes
Is POST no
Parameter list
id ID of the mail to hide

Hides DMail from your inbox

dmail/unhide

Information
Login required yes
Is POST no
Parameter list
id ID of the mail to hide

Unhides DMail from your inbox

dmail/create

Information
Login required yes
Is POST yes
Parameter list
dmail[parent_id] id of parent DMail for reply
dmail[to_name] username to send the dmail to
dmail[title] topic
dmail[body] message body

Send a DMail. Untested.

dmail/mark_all_read

Information
Login required yes
Is POST no
Parameter list
* none *

Mark all unread DMail as read. No need for a response here, so I didn't look at it.

dmail/show/ID

Information
Login required yes
Is POST no
Parameter list
* none *

Used to mark this unread DMail as read. Only returns HTML, there is no actual API for this.

FAVORITES

Workaround to check if a post was favorited: Call post/index?tags=id:$POSTID$%20fav:$USERNAME$ then, from the posts tag, get the count-value.

favorite/create

Information
Login required yes
Is POST yes
Parameter list
id The id of the post

Add the post with this id to your favorites

favorite/destroy

Information
Login required yes
Is POST yes
Parameter list
id The id of the post

Remove a post from your favorites

Blips

blip/index

Information
Login required no
Is POST no
Parameter list
page The page of blips to display (optional, 1)

Returns a hardcoded ammount of 50 blips per page, sorted by most recent

blip/create

Information
Login required yes
Is POST yes
Parameter list
authenticity_token this is NOT the auth token from the login API, so you can't post blips atm
blip[response] guess: the parent blips ID
blip[body] message body (up to 255 chars)

Sorry guys, would have really liked to implement this

Next Version: 1

Forum: 10%
Waiting for the API to improve

DMail: 50% Waiting for the API to improve, before posting

Blips: 50% API wont let you post

Pools: 100% Good enough, preview not available

Sets: 100% Same as pools, not searchable

Post view: 100%

Services: 33%

Clone this wiki locally