Hackathons + Contests => Hack Test
Website: https://hacktestapi.herokuapp.com/
Video: https://youtu.be/N4EpjLnvJPk
- Hackathons
- Contests
-
/hackathon
-
/contests
-
/codeforces
-
/codeforces_gym
-
/topcoder
-
/codechef
-
/hackerrank
-
/hackerearth
-
/kickstart
-
/leetcode
-
Request
GET /hackathon
Response (Example)
{
"\_id": "61f3a163107f3e6a55f8eb74",
"id": 13952,
"title": "Flutter Puzzle Hack ",
"open_state": "open",
"thumbnail_url": "//challengepost-s3-challengepost.
netdna-ssl.com/photos/production/challenge_thumbnails/001/783/623/datas/medium.png",
"analytics_identifier": "Flutter Puzzle Hack (13952)",
"url": "https://flutterhack.devpost.com/",
"time_left_to_submission": "about 1 month left",
"submission_period_dates": "Jan 06 - Feb 28, 2022",
"prize_amount": "$<span data-currency-value>51,046</span>",
"registrations_count": 4012,
"featured": false,
"organization_name": "Google",
"winners_announced": false,
"submission_gallery_url": "https://flutterhack.devpost.com/project-gallery",
"start_a_submission_url": "about 1 month left",
"invite_only": false,
"\_\_v": 0
}
Request
POST /hackathon
Response
{
"title": "Your Hackathon Title",
"open_state" : "Hackathon status",
"thumbnail_url": "images://hackathon_logo.png",
"analytics_identifier" : "Your Hackathon",
"url" : "https://yourhackathonurl.com/",
"time_left_to_submission" : "about 2 hrs left",
"prize_amount" : "$$$$$",
"registrations_count" : "150",
"featured" : "true/false",
"organization_name" : "Hosting Organisation (Postman)"
"winners_announced" : "true/false"
"submission_gallery_url" : "https://yourhackathonurl.com/submissions",
"start_a_submission_url" : about 30 mins left",
"invite_only" : "true/false",
"__v" : "0/1/2"
}
Request
GET /hackathon/id
Response Example
{
"\_id": "61f3a163107f3e6a55f8eb74",
"id": 13952,
"title": "Flutter Puzzle Hack ",
"open_state": "open",
"thumbnail_url": "//challengepost-s3-challengepost.
netdna-ssl.com/photos/production/challenge_thumbnails/001/783/623/datas/medium.png",
"analytics_identifier": "Flutter Puzzle Hack (13952)",
"url": "https://flutterhack.devpost.com/",
"time_left_to_submission": "about 1 month left",
"submission_period_dates": "Jan 06 - Feb 28, 2022",
"prize_amount": "$<span data-currency-value>51,046</span>",
"registrations_count": 4012,
"featured": false,
"organization_name": "Google",
"winners_announced": false,
"submission_gallery_url": "https://flutterhack.devpost.com/project-gallery",
"start_a_submission_url": "about 1 month left",
"invite_only": false,
"\_\_v": 0
}
Request
PUT /hackathon?id="id"/
Response
{
"featured": true,
}
Request
POST /hackathon?id="id"
Repsonse
{
"id" : "your_new_id"
}
Request
DELETE /hackaton?id="id"
Response
{
Item Deleted Successfully
}
Request
GET /contests
Response (Example)
{
"_id": "233fa6cd-787e-468f-90f6-693c4dede569",
"name": "ProjectEuler+",
"url": "https://hackerrank.com/contests/projecteuler",
"start_time": "2014-07-07T15:38:00.000Z",
"end_time": "2024-07-30T18:30:00.000Z",
"duration": "317616720.0",
"in_24_hours": "No",
"status": "CODING",
"__v": 0
}
Request
POST /contests
Response
{
"name": "your_contest_name",
"url": "https://contest.xyz/contests/your_contest_name",
"start_time": "20XX-XX-XXT00:00:00.000Z",
"end_time": "20XX-XX-XXT00:00:00.000Z",
"duration": "contes_time",
"in_24_hours": "Yes/No",
"status": "CODING",
"__v": 0/1/2
}
Request
GET /contests/id
Response Example
{
"_id": "233fa6cd-787e-468f-90f6-693c4dede569",
"name": "ProjectEuler+",
"url": "https://hackerrank.com/contests/projecteuler",
"start_time": "2014-07-07T15:38:00.000Z",
"end_time": "2024-07-30T18:30:00.000Z",
"duration": "317616720.0",
"in_24_hours": "No",
"status": "CODING",
"__v": 0
}
Request
PUT /contests?_id="id"/
Response
{
"featured": Yes,
}
Request
POST /contests?id="id"
Repsonse
{
"id" : "your_new_id"
}
Request
DELETE /contests?id="id"
Response
{
Item Deleted Successfully
}