REQUEST
GET /rankings
Authorization: "Bearer XXX"
RESPONSE
body:
{
memberGroup: {
rankings: [
{
name: "똥수",
score: 123,
ranking: 1
},
{
name: "땡칠",
score: 122,
ranking: 2
}
],
my: {
name: "똥수",
score: 123,
ranking: 1
}
},
all: {
rankings: [
{
name: "똥수",
score: 123,
ranking: 1
},
{
name: "땡칠",
score: 122,
ranking: 2
}
],
my: {
name: "똥수",
score: 123,
ranking: 1
}
}
}
REQUEST
GET /rankings?startWith="똥"
Authorization: "Bearer XXX"
RESPONSE
body:
{
memberGroup: {
rankings: [
{
name: "똥수",
score: 123,
ranking: 1
},
{
name: "똥쟁이",
score: 122,
ranking: 2
}
]
},
all: {
rankings: [
{
name: "똥수",
score: 123,
ranking: 1
},
{
name: "땡칠",
score: 122,
ranking: 2
}
]
}
}