developer-relations icon indicating copy to clipboard operation
developer-relations copied to clipboard

[DOCUMENTATION] Incorrect and incomplete documentation on lol-challenges endpoints

Open noahkohrs opened this issue 2 years ago • 0 comments

/lol/challenges/v1/challenges/config

ChallengeConfigInfoDto.localizedNames: Map[String, Map[String, string]] is too vague.

localizedNames could be specified as Map[String, ChallengeDto]

where ChallengeDto is:

public data class ChallengeDto(
    val description: String,
    val name: String,
    val shortDescription: String,
)

/lol/challenges/v1/challenges/percentiles

Incorrectly written as Return value: Map[Long, Map[Integer, Map[Level, Double]]]

Description: Map of level to percentile of players who have achieved it - keys: ChallengeId -> Season -> Level -> percentile of players who achieved it

But is in reality: Return value: Map[Long, Map[String, Double]]

Description: Map of level to percentile of players who have achieved it - keys: ChallengeId -> Rank-> percentile of players who achieved it.

This issue might be updated with additional lol-challenges documentation problems

noahkohrs avatar Sep 09 '24 07:09 noahkohrs