From f524ef09ce79d3353222fe86e347761347f99f28 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Fri, 29 Jun 2012 10:13:15 -0400 Subject: [PATCH] Prune tip.json docs 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) --- www/%participant_id/tip.json | 9 --------- 1 file changed, 9 deletions(-) diff --git a/www/%participant_id/tip.json b/www/%participant_id/tip.json index c914d14fc8..46ee710c2b 100644 --- a/www/%participant_id/tip.json +++ b/www/%participant_id/tip.json @@ -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