v1 API return type mismatch - Community / Bug Report - Deskpro Support
v1 API return type mismatch Collecting Feedback
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'.
Add a comment
Please log in or register to submit a comment.