EDSM-NET / FrontEnd

Issues tracker for EDSM
https://www.edsm.net/
37 stars 0 forks source link

Missing msg/msgnum fields in the API response #500

Closed negativefix closed 1 year ago

negativefix commented 1 year ago

msg and msgnum fields are missing in the system/systems endpoint responses. These endpoints repond with {} provided an incorrect parameter value (see the example request below). It would be much easier to check if the request has yielded something useful or not if msg and msgnum are included in the response.

GET https://www.edsm.net/api-system-v1/stations/shipyard
    ?systemName=Sol
    &stationName=Daedxalus
AnthorNet commented 1 year ago

Sadly won't be changed as it would results in breaking software that are coded to use that for a couple of years now ;)