• EnglishEspañol日本語한국어Português
  • EntrarComeçar agora

Esta tradução de máquina é fornecida para sua comodidade.

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

Criar um problema

Trabalhando com a API REST New Relic (v1) (EOL)

Importante

A API REST do New Relic versão 1 atingiu o fim de vida útil (EOL) e não está mais funcional. Migre seu script v1 para o equivalente NerdGraph para manter a funcionalidade.

Aqui estão alguns exemplos de alternativas para tarefas comuns.

Para obter informações relacionadas às contas que seu usuário pode acessar:

actor {
organization {
accountManagement {
managedAccounts {
id
name
}
}
}
}

Consulte Gerenciar contas

Para obter uma lista de aplicativos que um usuário pode acessar, você pode usarentitySearch no NerdGraph:

{
actor {
entitySearch(queryBuilder: {domain: APM, type: APPLICATION}) {
query
results {
entities {
name
entityType
guid
... on ApmApplicationEntityOutline {
accountId
}
}
}
}
}
}

Consulte Pesquisa de entidade

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.