Skip to content

Commit 4bcb5ba

Browse files
Add support for listing resources on a challenge based on the member id/handle
1 parent 637493c commit 4bcb5ba

6 files changed

+1417
-1772
lines changed

config/default.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ module.exports = {
2929
CHALLENGE_PHASES_API_URL: process.env.CHALLENGE_PHASES_API_URL || 'https://api.topcoder-dev.com/v5/challenge-phases',
3030

3131
DYNAMODB: {
32-
// AWS_ACCESS_KEY_ID: process.env.AWS_FAKE_ID,
33-
// AWS_SECRET_ACCESS_KEY: process.env.AWS_FAKE_KEY,
32+
AWS_ACCESS_KEY_ID: process.env.AWS_ACCESS_KEY_ID,
33+
AWS_SECRET_ACCESS_KEY: process.env.AWS_SECRET_ACCESS_KEY,
3434
AWS_REGION: process.env.AWS_REGION || 'us-east-1',
3535
IS_LOCAL_DB: process.env.IS_LOCAL_DB ? process.env.IS_LOCAL_DB === 'true' : true,
36-
DYNAMODB_URL: process.env.DYNAMODB_URL || 'http://localhost:8000',
36+
DYNAMODB_URL: process.env.DYNAMODB_URL || 'http://localhost:7777',
37+
URL: process.env.DYNAMODB_URL || 'http://localhost:7777',
3738
AWS_READ_UNITS: process.env.AWS_READ_UNITS || 4,
3839
AWS_WRITE_UNITS: process.env.AWS_WRITE_UNITS || 2,
3940
TIMEOUT: process.env.DYNAMODB_TIMEOUT || 10000

docs/swagger.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ paths:
6666
format: UUID
6767
in: query
6868
required: true
69+
- name: memberId
70+
type: integer
71+
description: The member id
72+
in: query
73+
- name: memberHandle
74+
type: string
75+
description: The member handle
76+
in: query
6977
- name: roleId
7078
type: string
7179
description: role id to filter on

0 commit comments

Comments
 (0)