Skip to content

Commit fb05cc9

Browse files
Rakesh RecharlaRakesh Recharla
authored andcommitted
2 parents 7c0b5c7 + 477f51c commit fb05cc9

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

apiary.apib

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
FORMAT: 1A
2+
HOST: https://api.topcoder.com/v3
3+
4+
# ap-review-microservice
5+
6+
Services to enable members to review submissions.
7+
8+
It includes functionality for scorecards, scorecard questions, reviews,
9+
review items, scoring individual reviews, aggregating review scores.
10+
11+
# Scorecard API [/scorecards]
12+
13+
Scorecard represents the top level object of the questions that should be
14+
asked to reviewers during a review phase
15+
16+
## Retrieve Scorecards [GET /?filter=scorecardId%3Dvalue&challengeId%3Dvalue]
17+
18+
Retrieves scorecards
19+
20+
+ Parameters
21+
+ filter: fieldName=fieldValue (enum[string],optional) - parameter for filtering the fields according to v3 spec
22+
+ scorecardId - Filter parameter to retrieve a specific scorecard by id
23+
+ challengeId - Filter parameter to retrieve a specific scorecard that is assigned to the review phase of a challenge
24+
25+
+ Request (application/json)
26+
27+
+ Headers
28+
29+
Authorization: Bearer token
30+
Accept: application/json
31+
32+
+ Response 200 (application/json)
33+
34+
{
35+
"id": "-40894480:14dbb858e00:-7fb7",
36+
"result": {
37+
"success": true,
38+
"status": 200,
39+
"metadata": null,
40+
"content": [
41+
{
42+
"updatedAt": "",
43+
"createdAt": "",
44+
"createdBy": "",
45+
"updatedBy": "",
46+
"id": "",
47+
"name": ""
48+
}
49+
]
50+
},
51+
"version": "v3"
52+
}
53+
54+

0 commit comments

Comments
 (0)