grafana / oncall

Developer-friendly incident response with brilliant Slack integration
GNU Affero General Public License v3.0
3.47k stars 285 forks source link

Add telegram_username field to /api/v1/users/<username> response. #3025

Open IdeoG opened 1 year ago

IdeoG commented 1 year ago

What would you like to see!

Hi, I'm curious to create telegram group with all on-call members in "one room". I have to gather on-callers, so I think it can be done by /api/v1/users/user API request. When I make a request I see response:

{
  "id": "...",
  "email": "...",
  "slack": null,
  "username": "....",
  "telegram": "HERE",
  "role": "...",
  "is_phone_number_verified": true
}

Product Area

Other

Anything else to add?

No response

github-actions[bot] commented 1 year ago

The current version of Grafana OnCall, at the time this issue was opened, is v1.3.37. If your issue pertains to an older version of Grafana OnCall, please be sure to list it in the PR description. Thank you :smile:!