Opsgenie api mystery ..

sergey_green February 18, 2025

In this api description; 

 

"type": "hourly",
"length": 6,

 

What is hourly and what is length? Going further the payload example, neither type nor length are adding up to anything meaningful. What other types are there?

thanks.

P.S. Forgot the link (but should be obvious anyways)

https://docs.opsgenie.com/docs/schedule-api

1 answer

1 accepted

4 votes
Answer accepted
Tom Russell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2025

@sergey_green the two parameters determine how long each member is on-call, before the next user is scheduled from the rotation.

"type": "hourly", "length": 6 - Each user is on-call for 6 hours

"type": "daily", "length": 2 - Each user is on-call for 2 days

"type": "daily", "length":7 is equal to "type": "weekly", "length": 1 - Each user is on-call for 1 week

The API documentation is here: https://docs.opsgenie.com/docs/schedule-rotation-apithough it doesn't explain things any better than the link you provided.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events