Fixed
Details
Assignee
Christian PapeChristian PapeReporter
Alejandro GalueAlejandro GalueComponents
Sprint
NoneFix versions
Affects versions
Priority
Major
Details
Details
Assignee
Christian Pape
Christian PapeReporter
Alejandro Galue
Alejandro GalueComponents
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created September 10, 2019 at 11:46 AM
Updated September 24, 2019 at 5:34 AM
Resolved September 24, 2019 at 5:34 AM
While trying to figure out how the new meta-data DSL feature works, I found that the meta-data end-points on the ReST API v2 are not working with JSON.
Interestingly, the whole ReST API v2 defaults to JSON when the accept header is not specified (which is different from the v1 API, which is XML).
Only the meta-data end-points defaults to XML, the code mentions that JSON is an option, but the data is not shown (you get an empty array even if there are meta-data entries). This can be easily reproducible after setting the Accept header to be "application/json".