zorkian / go-datadog-api

A Go implementation of the Datadog API.
BSD 3-Clause "New" or "Revised" License
183 stars 156 forks source link

getDashboards and other operations use deprecated endpoints #298

Closed blaines closed 4 years ago

blaines commented 4 years ago

https://github.com/zorkian/go-datadog-api/blob/master/dashboards.go#L274-L280 https://docs.datadoghq.com/dashboards/guide/timeboard-api-doc/?tab=python https://docs.datadoghq.com/api/?lang=bash#timeboards

Datadog says:

This endpoint is outdated. Use the new Dashboard endpoint instead. Documentation for old endpoints is available in the Screenboard API documentation.

This affects all calls to /dash or /screen.

bkabrda commented 4 years ago

Hey 👋 thanks for reaching out. We're not planning to modify the old functionality/calls. Rather, we implemented the new GetBoard, CreateBoard, ... endpoints that use the new dashboards API (implemented inboards.go`). Feel free to give these a try if you want/need to use the new API.