Page 1 of 1
Informations empty on some endpoints
Posted: 19 Aug 2013, 13:28
by spaii
Hi,
with endpoints /player/titles/owned/ (ManiaConnect)
Environment is empty on all title packs and web is empty on some title packs. (cf screenshot)
With endpoint /servers/? (getFilteredList in WSSDK) : all Environment are empty.
BTW, is this possible to know in endpoints /player/titles/owned/ if a player has deposed his title on cloud or not ?
Thx

Re: Informations empty on some endpoints
Posted: 19 Aug 2013, 13:57
by magnetik
Humm, this "Environment" variable is kinda useless because there is not such concept in ManiaPlanet.
In fact there is a "parent title" and we should make it public

Re: Informations empty on some endpoints
Posted: 19 Aug 2013, 14:46
by spaii
Re: Informations empty on some endpoints
Posted: 20 Aug 2013, 11:08
by magnetik
You should have an attribute "dependencies" which will contain "SMStorm" or "TMValley" (or else) in every Title objects.
(There is a long cache on this, so it may take some time to be present)
Re: Informations empty on some endpoints
Posted: 20 Aug 2013, 11:39
by steeffeen
sounds good
"dependies" -> multi-env titles confirmed!
Re: Informations empty on some endpoints
Posted: 20 Aug 2013, 14:26
by spaii
magnetik wrote:You should have an attribute "dependencies" which will contain "SMStorm" or "TMValley" (or else) in every Title objects.
Yes
magnetik wrote:(There is a long cache on this, so it may take some time to be present)
Effectively, only some has dependencies. At start i would like to request informations (every day or hour) on each title that don't have dependencies populated in my database, but there is no way other than maniaconnect to have these informations. I have to waiting for player connects with his account to update dependencies. But it's a good start

a lot magnetik !!