How do I give an award to a user?
It's unclear to me how I would give an award to a user. Which endpoint do I use?
-
You would make a POST request to the endpoint:
.../end_user/{end_user_login}/award
with:
{named_award_id:{named_award_id},} in the POST envelope.
Let us know if you have any troubles with this one! -
-
I think the API Request Generator is misleading for this one. If I try the Request Generator with action=POST, Type=Award, it prompts you for a User ID and Award ID. If you enter those, it will fail with "Piston/0.2.3rc1 (Django 1.2.5) crash report: Method signature does not match. "
If you leave off Award ID, and enter named_award_id as the payload, then it works. -
-
Thanks for the feedback Dan.
I agree this one isn't optimal in the request generator. We have some work to do to make things more friendly in both the tools and documentation section, so thanks for providing your input to help on that front! -
Loading Profile...



Twitter,
Facebook, or email.



