Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 6336784

Browse files
author
fireice.topcoder
committed
Merge branch 'master' of github.com:cloudspokes/tc-api
2 parents ae588a9 + 571ac9a commit 6336784

File tree

1 file changed

+74
-20
lines changed

1 file changed

+74
-20
lines changed

apiary.apib

Lines changed: 74 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,11 +1450,7 @@ Register a new user.
14501450
"averageScore": 95.64,
14511451
"averagePlacement": 3.19,
14521452
"wins": 21,
1453-
"winPercentage": "58.33%",
1454-
"copilotCompletedContests": 300,
1455-
"copilotRepostedContests": 300,
1456-
"copilotFailedContests": 300,
1457-
"copilotFulfillment": "90%"
1453+
"winPercentage": "58.33%"
14581454
],
14591455
"Assembly":
14601456
[
@@ -1482,11 +1478,7 @@ Register a new user.
14821478
"averageScore": 95.64,
14831479
"averagePlacement": 3.19,
14841480
"wins": 21,
1485-
"winPercentage": "58.33%",
1486-
"copilotCompletedContests": 300,
1487-
"copilotRepostedContests": 300,
1488-
"copilotFailedContests": 300,
1489-
"copilotFulfillment": "90%"
1481+
"winPercentage": "58.33%"
14901482
]
14911483
}
14921484
}
@@ -5134,19 +5126,19 @@ Register a new user.
51345126
51355127
+ Response 500 (application/json)
51365128
5137-
{
5138-
"name":"Internal Server Error",
5139-
"value":"500",
5140-
"description":"Unknown server error. Please contact support."
5141-
}
5129+
{
5130+
"name":"Internal Server Error",
5131+
"value":"500",
5132+
"description":"Unknown server error. Please contact support."
5133+
}
51425134
51435135
+ Response 503 (application/json)
51445136
5145-
{
5146-
"name":"Service Unavailable",
5147-
"value":"503",
5148-
"description":"Servers are up but overloaded. Try again later."
5149-
}
5137+
{
5138+
"name":"Service Unavailable",
5139+
"value":"503",
5140+
"description":"Servers are up but overloaded. Try again later."
5141+
}
51505142
51515143
## Check Email Availability [/users/validateEmail?email={email}]
51525144
### Check Email Availability [GET]
@@ -5178,3 +5170,65 @@ Register a new user.
51785170
"value":"503",
51795171
"description":"Servers are up but overloaded. Try again later."
51805172
}
5173+
5174+
## Software Copilot Statistics [/copilots/{handle}/statistics/develop?track={track}]
5175+
### Software Copilot Statistics [GET]
5176+
5177+
+ Parameters
5178+
+ handle (required, string, `iRabbit`) ... Member Handle
5179+
+ track (optional, string, 'development') ... The track name
5180+
5181+
+ Response 200 (application/json)
5182+
5183+
{
5184+
"handle": "iRabbit",
5185+
"Tracks":
5186+
{
5187+
"Development":
5188+
[
5189+
"copilotCompletedContests": 300,
5190+
"copilotRepostedContests": 300,
5191+
"copilotFailedContests": 300,
5192+
"copilotFulfillment": "90%"
5193+
],
5194+
"Assembly":
5195+
[
5196+
"copilotCompletedContests": 300,
5197+
"copilotRepostedContests": 300,
5198+
"copilotFailedContests": 300,
5199+
"copilotFulfillment": "90%"
5200+
]
5201+
}
5202+
}
5203+
5204+
+ Response 400 (application/json)
5205+
5206+
{
5207+
"name":"Bad Request",
5208+
"value":"400",
5209+
"description":"This message will explain why the request is invalid or cannot be served."
5210+
}
5211+
5212+
+ Response 404 (application/json)
5213+
5214+
{
5215+
"name":"Not Found",
5216+
"value":"404",
5217+
"description":"This message will explain why the URI requested is invalid or the resource does not exist."
5218+
}
5219+
5220+
+ Response 500 (application/json)
5221+
5222+
{
5223+
"name":"Internal Server Error",
5224+
"value":"500",
5225+
"description":"Unknown server error. Please contact support."
5226+
}
5227+
5228+
+ Response 503 (application/json)
5229+
5230+
{
5231+
"name":"Service Unavailable",
5232+
"value":"503",
5233+
"description":"Servers are up but overloaded. Try again later."
5234+
}

0 commit comments

Comments
 (0)