Skip to content

Deprecated api /alerts_channels being used #1258

@vamshi05

Description

@vamshi05

Description

Looks like /alerts_channels endpoint is supposed to be deprecated already as per https://api.newrelic.com/docs/#/Deprecation%20Notice%20-%20Alerts%20Channels but it seems to be used in this repository

nextURL := a.config.Region().RestURL("/alerts_channels.json")

nextURL := a.config.Region().RestURL("/alerts_channels.json")

Go Version

Provide the output of go version here please

Current behavior

Error: GET https://api.newrelic.com/v2/alerts_channels.json giving up after 4 attempt(s)

Expected behavior

No errors

Steps To Reproduce

Steps to reproduce the behavior:
1.

curl -X 'GET'
'https://api.newrelic.com/v2/alerts_channels.json'
-H 'accept: application/json'
-H "Api-Key: <>"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions