Mojang API - Capes

Discussion in 'Programming' started by teac, Jan 10, 2020.

  1. I've noticed this api call (see below) only lets you deduct the users current selected cape. Is there a way to request all capes on the users account? Services such as NAMEMC show all capes on an account and can provide lists of users with a specific cape. Just wondering how :)

    UUID -> Profile + Skin/Cape
    GET https://sessionserver.mojang.com/session/minecraft/profile/<uuid>
     
  2. As far as I know, this would simply be done by caching the data retrieved on your end after the API call.

    NameMC seems to only remember the skins I've had when I viewed my profile after having changed

    Basically for this kind of data, the Mojang API will only supply you with the current state of the user, not his past states (imagine the hassle of storing the hundreds of skin changes some players have had)