In the Opsgenie API documentation page for services (https://docs.opsgenie.com/docs/service-api), there doesn't seem to be an API endpoint to Get/Create/Delete service relationships. I'm trying to automate the creation of services and their relationship when automatically deploying new services.
When I'm using the Opsgenie website, I can see that the UI is making calls to the following URL but I haven't been able to "figure out" a similar API endpoint.
https://<sitename>.app.opsgenie.com/webapi/services/<serviceId>/relationships
Due to the number of interrelated services we have for each environment, it's really not feasible to do this manually.
Similarly, is there an endpoint for managing the mapped CI/CD tools (e.g. BitBucket repos) or any of the other services settings which are available within the <team> -> Services pages (e.g. responders, stakeholders)?
This issue and being able to automate management/deployment of "collections" of services for a new environment (e.g. dedicated AWS account) would reduce the barrier to use Opsgenie.
Hi @Adam Benfer
It looks like we do already have a feature request logged for this. Unfortunately, the only current known workaround is to manage the relationships in the UI.
Sorry @John M , I forgot to check your public backlog.
We'll be keen on watching those:
I've added some votes
Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.