Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Prune tip.json docs
Browse files Browse the repository at this point in the history
I was thinking that tip.json could be used to build a widget for
embedding on other sites, but we need to use an iframe for that. So
tip.json is not itself a public API anymore. (#88)
  • Loading branch information
chadwhitacre committed Jun 29, 2012
1 parent bf34ceb commit f524ef0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions www/%participant_id/tip.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
"""Get or change the authenticated user's tip to this person.

Unauthenticated users will always get back {}, so retval.amount will be
undefined in JavaScript. Authenticated users can pass "amount" in the
querystring to change their tip. It will be ignored if you try to tip yourself,
otherwise it must be one of: "0.00", "0.08", "0.16", "0.32", "0.64", "1.28"
(you'll get a 400 otherwise). The return value for authenticated users is
{"amount": "0.08"}, where the value is guaranteed to be one of those same
strings, or null if it's yourself.

"""
import decimal

Expand Down

0 comments on commit f524ef0

Please sign in to comment.