-
Notifications
You must be signed in to change notification settings - Fork 4
Undocumented API calls
rebane621 edited this page Aug 14, 2016
·
12 revisions
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)
Information | |
---|---|
Login required | yes |
Is POST | no |
Parameter list | |
id | ID of the mail to hide |
Hides DMail from your inbox
Information | |
---|---|
Login required | yes |
Is POST | no |
Parameter list | |
id | ID of the mail to hide |
Unhides DMail from your inbox
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.
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.
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.
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.
Information | |
---|---|
Login required | yes |
Is POST | yes |
Parameter list | |
id | The id of the post |
Add the post with this id to your favorites
Information | |
---|---|
Login required | yes |
Is POST | yes |
Parameter list | |
id | The id of the post |
Remove a post from your favorites
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
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