Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions apiary.apib
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
FORMAT: 1A
HOST: https://api.topcoder.com/v3

# ap-review-microservice

Services to enable members to review submissions.

It includes functionality for scorecards, scorecard questions, reviews,
review items, scoring individual reviews, aggregating review scores.

# Scorecard API [/scorecards]

Scorecard represents the top level object of the questions that should be
asked to reviewers during a review phase

## Retrieve Scorecards [GET /?filter=scorecardId%3Dvalue&challengeId%3Dvalue]

Retrieves scorecards

+ Parameters
+ filter: fieldName=fieldValue (enum[string],optional) - parameter for filtering the fields according to v3 spec
+ scorecardId - Filter parameter to retrieve a specific scorecard by id
+ challengeId - Filter parameter to retrieve a specific scorecard that is assigned to the review phase of a challenge

+ Request (application/json)

+ Headers

Authorization: Bearer token
Accept: application/json

+ Response 200 (application/json)

{
"id": "-40894480:14dbb858e00:-7fb7",
"result": {
"success": true,
"status": 200,
"metadata": null,
"content": [
{
"updatedAt": "",
"createdAt": "",
"createdBy": "",
"updatedBy": "",
"id": "",
"name": ""
}
]
},
"version": "v3"
}


Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ databases:
validationQuery: select 1 from systables

# the JDBC URL
url: jdbc:informix-sqli://10.25.94.52:2020/tcs_catalog:INFORMIXSERVER=informixoltp_shmr;IFX_LOCK_MODE_WAIT=5;OPTCOMPIND=0;STMT_CACHE=1;
url: jdbc:informix-sqli://10.25.94.50:2020/tcs_catalog:INFORMIXSERVER=informixoltp_tcp;IFX_LOCK_MODE_WAIT=5;OPTCOMPIND=0;STMT_CACHE=1;

# the minimum number of connections to keep open
minSize: 2
Expand Down