Прескочи към главното съдържание

v1 API return type mismatch - Общност / Bug Report - Deskpro Support

30

v1 API return type mismatch Finished

Using the v1 API, a GET on the tickets endpoint returns a JSON objectcontaining a 'tickets' object of tickets with ids as keys. This behavior only holds when tickets exist matching the query, and an empty array is returned otherwise. Though not critical, this is surprising and can crash an application relying on the assumption of an homogeneous type for 'tickets'.

Официален отговор

Eloise Rea

Hi Jerome, I’m just reaching out as we are doing a review of open bug reports in Deskpro since the release of Deskpro Horizon. I’ve taken a look into this issue and since the release of API v2 this issue should no longer be occurring. Please do reach out via our webform if you are still experiencing any issues.