fastforza wrote:
I do not and will not support the old APIs. They will continue to exist, but will never be updated.
My bad, I meant just their documentation pages, belatedly realizing that the docs are
part of the API links.
Almost, the syntax is shown as "
http://api.mania-exchange.com/sm/map/{ids,}" without 's' after 'map'.
fastforza wrote:Electron wrote:We all have to rewrite our code (if it already includes the expected queries for SM and QM).
I know it's a disaster for certain programs, but it's something you'll have to adjust to.
Yeah, it's a bit of a pain, but as long as it doesn't happen again this decade

I don't have a problem with it.
fastforza wrote:Electron wrote:Why does the TM2 query path includes the folder "tracks" and the SM path the folder "maps"?
It's a drawback from the original application design. MX was months into development before Nadeo decided to change everything to 'maps'. There were far too many references to 'tracks' in the application to change (speaking from the back-end where DB and classes had references to 'tracks').
Okay, but why does the SM section still use 'tracks' in the download links? E.g.
http://sm.mania-exchange.com/tracks/download/195 on
http://sm.mania-exchange.com/maps/view/195
That's an inconsistency I hope you'll still fix.
fastforza wrote:But for the sake of consistency with 'maps', all methods that contain 'tracks' in the route can now be accessed with 'maps'.
Thanks, but since TM2 links (e.g. to the track's file and download) still require 'tracks', it doesn't matter as I still have to test at least once in my MX classes whether the TM2 or another section is being requested.
fastforza wrote:I've updated the API with new methods and documentation changes to address yours and Xymph's concerns.
Thanks for all that, much clearer now.
While working through the changes I noticed a new field in the TM2 data: TrackValue. This is also shown on TM2 track pages, and while I found a reference to it in the site change log (being able to sort on it), it's not clear to me what the value means. Can you explain or point me to a description?
In the SM data there's also a new field: UnlimiterRequired. However, in both the TM2 and SM sections when using advanced search, there's a checkbox for that flag. Shouldn't the field then also be included in the TM2 data returned by the API?
On the TM2 side, track screenshots are available in two sizes, via /tracks/screenshot/normal/<id> and /tracks/screenshot/small/<id> links, but on the SM side it looks like just one (normal) size is available via a different path: /maps/thumbnail/<id> . Is that going to stay this way?