Fetch Contest Leaderboard

From ePrize Developers Wiki

Jump to: navigation, search

API Home Page :: Contest

Summary

Retrieve the most popular entries in the contest.

Resource

/v1/{apikey}/contest/most-popular

Valid Methods

GET

Resource Arguments

Note: resource arguments are always required.

apikey: Your API Key.

Parameters Required

None.



Example: Successful response

Summary

Demonstrates successful response


Response

HTTP Status Code: 200 OK


<?xml version='1.0' standalone='yes'?>
 <result>
   <entry>
     <id>5</id>
     <body>this is the body of my essay</body>
     <category_id>2</category_id>
     <created>2010-07-29 17:12:16</created>
     <description></description>
     <last_updated>2010-07-29 17:12:16</last_updated>
     <profile_id>4</profile_id>
     <random>65878</random>
     <rank>1</rank>
     <rating>6.000</rating>
     <rating_ave>3.000</rating_ave>
     <rating_count>2</rating_count>
     <state>approved</state>
     <title>a missive on soap</title>
     <type>ESSAY</type>
     <views>4</views>
     <votes>0</votes>
   </entry>
   <entry>
     <id>6</id>
     <body>this is the body of my essay</body>
     <category_id>2</category_id>
     <created>2010-07-29 16:25:56</created>
     <description></description>
     <last_updated>2010-07-29 17:07:32</last_updated>
     <profile_id>3</profile_id>
     <random>3743195157</random>
     <rank>2</rank>
     <rating>5.000</rating>
     <rating_ave>5.000</rating_ave>
     <rating_count>1</rating_count>
     <state>approved</state>
     <title>an ode to restful interfaces</title>
     <type>ESSAY</type>
     <views>6</views>
     <votes>0</votes>
   </entry>
   <status>1</status>
 </result>


Personal tools