UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 101 kB
{"openapi":"3.0.0","info":{"contact":{"x-twitter":"VictorOps"},"description":"This API allows you to interact with the VictorOps platform in various ways. Your account may be limited\nto a total number of API calls per month. Also, some of these API calls have rate limits.\n\nNOTE: In this documentation when creating a sample curl request (clicking the TRY IT OUT! button), in some API\nviewing interfaces, the '@' in an email address may be encoded. Please note that the REST endpoints will not\nprocess the encoded version. Make sure that the encoded character '%40' is changed to its unencoded form before\nsubmitting the curl request.\n","title":"VictorOps","version":"0.0.3","x-apisguru-categories":["developer_tools"],"x-logo":{"url":"https://twitter.com/VictorOps/profile_image?size=original"},"x-origin":[{"format":"swagger","url":"https://portal.victorops.com/public/api-docs/victorops-api-v1.yaml","version":"2.0"}],"x-providerName":"victorops.com"},"tags":[{"name":"On-call"},{"name":"Incidents"},{"name":"Alerts"},{"name":"Reporting"},{"name":"Users"},{"name":"User Contact Methods"},{"name":"User Paging Policies"},{"name":"Personal Paging Policy Values"},{"name":"Personal Paging Policies"},{"name":"Teams"},{"name":"Escalation Policies"},{"name":"Routing Keys"},{"name":"Scheduled Overrides"}],"paths":{"/api-public/v1/alerts/{uuid}":{"get":{"description":"Retrieve the details of an alert that was sent VictorOps by you.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps uuid of the alert","in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The alert, if found.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAlertResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Retrieve alert details.","tags":["Alerts"]}},"/api-public/v1/incidents":{"get":{"description":"Get a list of the currently open, acknowledged and recently resolved incidents.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"The set of incidents.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActiveIncidentList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get current incident information","tags":["Incidents"]},"post":{"description":"Create a new incident.\n\nThis call replicates the function of our\n<a href=\"https://help.victorops.com/knowledge-base/manual-incident-creation/\">manual incident creation process</a>.\nMonitoring tools and custom integrations\nshould be configured using our\n<a href=\"https://help.victorops.com/knowledge-base/victorops-restendpoint-integration/\">REST Endpoint</a>.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIncidentRequest"}}},"description":"The incident details","required":true},"responses":{"200":{"description":"Information about the incident created\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatedIncident"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}},"summary":"Create a new incident","tags":["Incidents"]}},"/api-public/v1/incidents/ack":{"patch":{"description":"The incident(s) must be currently open. The user supplied must be a valid VictorOps user and a member of your organization.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"$ref":"#/components/requestBodies/AckOrResolveRequest"},"responses":{"200":{"description":"The result of each acknowledge incident action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckOrResolveResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Acknowledge an incident or list of incidents","tags":["Incidents"]}},"/api-public/v1/incidents/byUser/ack":{"patch":{"description":"The incident(s) must be currently open. The user supplied must be a valid VictorOps user and a member of your organization.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"$ref":"#/components/requestBodies/AckOrResolveByUserRequest"},"responses":{"200":{"description":"The result of each acknowledge incident action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckOrResolveResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Acknowledge all incidents for which a user was paged.","tags":["Incidents"]}},"/api-public/v1/incidents/byUser/resolve":{"patch":{"description":"The incident(s) must be currently open. The user supplied must be a valid VictorOps user and a member of your organization.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"$ref":"#/components/requestBodies/AckOrResolveByUserRequest"},"responses":{"200":{"description":"The result of each resolve incident action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckOrResolveResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Resolve all incidents for which a user was paged.","tags":["Incidents"]}},"/api-public/v1/incidents/reroute":{"post":{"description":"Reroute one or more incidents to one or more users and/or escalation policies\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RerouteCollection"}}},"description":"The reroute rules","required":true},"responses":{"200":{"description":"The created reroute object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RerouteStatusResponse"}}}}},"summary":"Reroute one or more incidents to one or more new routable destinations.","tags":["Incidents"]}},"/api-public/v1/incidents/resolve":{"patch":{"description":"The incident(s) must be currently open. The user supplied must be a valid VictorOps user and a member of your organization.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"$ref":"#/components/requestBodies/AckOrResolveRequest"},"responses":{"200":{"description":"The result of each resolve incident action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckOrResolveResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Resolve an incident or list of incidents","tags":["Incidents"]}},"/api-public/v1/maintenancemode":{"get":{"parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"maintenance mode state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceModeState"}}}},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get an organization's current maintenance mode state","tags":["Maintenance Mode"]}},"/api-public/v1/maintenancemode/start":{"post":{"parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"names":{"description":"Routing keys that maintenance mode state covers. An empty list indicates global maintenance mode","items":{"type":"string"},"type":"array"},"purpose":{"description":"the reason for the maintenance mode","type":"string"},"type":{"enum":["RoutingKeys"],"type":"string"}},"type":"object"}}},"description":"the definition of the maintenance mode you want to start","required":true},"responses":{"200":{"description":"maintenance mode state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceModeState"}}}},"403":{"$ref":"#/components/responses/403"},"409":{"description":"You have an active global maintanance mode and are attempting to start a second. You may only have a single Global maintenance mode at a time"},"420":{"description":"You have reached the limit of allowed active maintenance modes"},"500":{"$ref":"#/components/responses/500"}},"summary":"Start maintenance mode for routing keys","tags":["Maintenance Mode"]}},"/api-public/v1/maintenancemode/{maintenancemodeid}/end":{"put":{"parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"$ref":"#/components/parameters/maintenanceModeId"}],"responses":{"200":{"description":"maintenance mode state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceModeState"}}}},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"End maintenance mode for routing keys","tags":["Maintenance Mode"]}},"/api-public/v1/oncall/current":{"get":{"description":"Get all on-call users/teams for your organization.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"All users and escalation policies currently on call","content":{"application/json":{"schema":{"properties":{"teamsOnCall":{"items":{"$ref":"#/components/schemas/OnCallTeamsResource"},"type":"array"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get an organization's on-call users","tags":["On-call"]}},"/api-public/v1/org/routing-keys":{"get":{"description":"Retrieves a list of routing keys and associated teams.\nThis API may be called a maximum of 60 times per minute.","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"The list of routing keys and associated teams","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListRoutingKeysResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}},"summary":"List routing keys with associated teams","tags":["Routing Keys"]}},"/api-public/v1/overrides":{"get":{"description":"List all the scheduled overrides on the organization\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"A list of scheduled overrides for your organization","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"overrides":{"items":{"$ref":"#/components/schemas/ScheduledOverride"},"type":"array"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"description":"You have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"List the scheduled overrides","tags":["Scheduled Overrides"]},"post":{"description":"Creates a new scheduled override. Start and end dates are in ISO8601 format. E.g. `2018-09-28'T'05:00:00Z`\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledOverridePayload"}}},"required":true},"responses":{"200":{"description":"The created scheduled override","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"schedule":{"$ref":"#/components/schemas/ScheduledOverride"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"description":"You have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Creates a new scheduled override","tags":["Scheduled Overrides"]}},"/api-public/v1/overrides/{publicId}":{"delete":{"description":"Deletes a scheduled override\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The publicId of the scheduled override","in":"path","name":"publicId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whether or not the delete was successful"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"description":"You have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Deletes a scheduled override","tags":["Scheduled Overrides"]},"get":{"description":"Get the specified scheduled override\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The publicId of the scheduled override","in":"path","name":"publicId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The scheduled override","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"override":{"$ref":"#/components/schemas/ScheduledOverride"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"description":"You have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get the specified scheduled override","tags":["Scheduled Overrides"]}},"/api-public/v1/overrides/{publicId}/assignments":{"get":{"description":"Get the specified scheduled override assignments\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The publicId of the scheduled override","in":"path","name":"publicId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The assignments for a given scheduled override","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Assignment"},"type":"array"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"description":"You have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get the specified scheduled override","tags":["Scheduled Overrides"]}},"/api-public/v1/overrides/{publicId}/assignments/{policySlug}":{"delete":{"description":"Delete the scheduled override assignment\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The publicId of the scheduled override","in":"path","name":"publicId","required":true,"schema":{"type":"string"}},{"description":"The policySlug of the assignment","in":"path","name":"policySlug","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The assignment that was deleted for the given scheduled override and policySlug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assignment"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"description":"You have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Delete the scheduled override assignment","tags":["Scheduled Overrides"]},"get":{"description":"Get the specified scheduled override assignments\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The publicId of the scheduled override","in":"path","name":"publicId","required":true,"schema":{"type":"string"}},{"description":"The policySlug of the assignment","in":"path","name":"policySlug","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The assignment for the given publicId","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assignment"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"description":"You have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get the specified scheduled override assignment","tags":["Scheduled Overrides"]},"put":{"description":"Update the scheduled override assignment\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The publicId of the scheduled override","in":"path","name":"publicId","required":true,"schema":{"type":"string"}},{"description":"The policySlug of the assignment","in":"path","name":"policySlug","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAssignment"}}},"description":"The policy and username we are assigning","required":true},"responses":{"200":{"description":"The assignment for the given policySlug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assignment"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"description":"You have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Update the scheduled override assignment","tags":["Scheduled Overrides"]}},"/api-public/v1/policies":{"get":{"description":"Retrieves a list of escalation policy information.\nThis API may be called a maximum of once a minute.","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"The list of escalation policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscalationPolicyInfoList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get escalation policy info","tags":["Escalation Policies"]}},"/api-public/v1/policies/types/contacts":{"get":{"description":"Get the available contact types\n\ndescription: \"Email Address\", type: \"email\"\ndescription: \"Phone Number\", type: \"phone\"\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"All the available contact types","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"contactTypes":{"items":{"$ref":"#/components/schemas/ContactObject"},"type":"array"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get the available contact types","tags":["Personal Paging Policy Values"]}},"/api-public/v1/policies/types/notifications":{"get":{"description":"Get the available notification types\n\ndescription: \"Send a push notification to all my devices\", type: \"push\"\ndescription: \"Send an email to an email address\", type: \"email\"\ndescription: \"Send an SMS to a phone number\", type: \"sms\"\ndescription: \"Make a phone call to a phone number\", type: \"phone\"\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"All the available contact types","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"notificationTypes":{"items":{"$ref":"#/components/schemas/NotificationObject"},"type":"array"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get the available notification types","tags":["Personal Paging Policy Values"]}},"/api-public/v1/policies/types/timeouts":{"get":{"description":"Get the available timeout values\n\ndescription: \"If still unacked after 1 minute\", type: 1\ndescription: \"If still unacked after 5 minutes\", type: 5\ndescription: \"If still unacked after 10 minutes\", type: 10\ndescription: \"If still unacked after 15 minutes\", type: 15\ndescription: \"If still unacked after 20 minutes\", type: 20\ndescription: \"If still unacked after 25 minutes\", type: 25\ndescription: \"If still unacked after 30 minutes\", type: 30\ndescription: \"If still unacked after 45 minutes\", type: 45\ndescription: \"If still unacked after 60 minutes\", type: 60\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"All the available timeout types.","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"timeoutTypes":{"items":{"$ref":"#/components/schemas/TimeoutObject"},"type":"array"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get the available timeout values","tags":["Personal Paging Policy Values"]}},"/api-public/v1/policies/{policy}/oncall/user":{"patch":{"description":"Replaces a currently on-call user in the escalation policy with another. In many cases, the policy slug\nwill match the slug of the team that contains it.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps policy 'slug'","in":"path","name":"policy","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/TakeRequest"},"responses":{"200":{"description":"The result of the take request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeResult"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"description":"Team or user(s) not found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Create an on-call override (take on-call)","tags":["On-call"]}},"/api-public/v1/profile/{username}/policies":{"get":{"description":"Get all the paging policy steps for the user on the org associated with the API key\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/username"},{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"All steps of the user's paging policy","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"steps":{"$ref":"#/components/schemas/UserPagingPolicy"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get the user's paging policy","tags":["Personal Paging Policies"]},"post":{"description":"Create a paging policy step\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/username"},{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"$ref":"#/components/requestBodies/AddGroupPayload"},"responses":{"200":{"description":"The created paging policy step","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"step":{"$ref":"#/components/schemas/PagingPolicyStep"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Create a paging policy step","tags":["Personal Paging Policies"]}},"/api-public/v1/profile/{username}/policies/{step}":{"get":{"description":"Get a paging policy step\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/username"},{"$ref":"#/components/parameters/pagingPolicyStep"},{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"The paging policy step","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"step":{"$ref":"#/components/schemas/PagingPolicyStep"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get a paging policy step","tags":["Personal Paging Policies"]},"post":{"description":"Create a rule for a paging policy step\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/username"},{"$ref":"#/components/parameters/pagingPolicyStep"},{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"$ref":"#/components/requestBodies/AddStepPayload"},"responses":{"200":{"description":"The created rule for the paging policy step","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"stepRule":{"$ref":"#/components/schemas/PagingPolicyStepRule"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Create a rule for a paging policy step","tags":["Personal Paging Policies"]},"put":{"description":"Update a paging policy step\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/username"},{"$ref":"#/components/parameters/pagingPolicyStep"},{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"$ref":"#/components/requestBodies/AddGroupPayload"},"responses":{"200":{"description":"The updated paging policy step","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"step":{"$ref":"#/components/schemas/PagingPolicyStep"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Update a paging policy step","tags":["Personal Paging Policies"]}},"/api-public/v1/profile/{username}/policies/{step}/{rule}":{"delete":{"description":"Delete a rule from a paging policy step\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/username"},{"$ref":"#/components/parameters/pagingPolicyStep"},{"$ref":"#/components/parameters/pagingPolicyRule"},{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"The deleted rule from the paging policy step","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"stepRule":{"$ref":"#/components/schemas/PagingPolicyStepRule"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Delete a rule from a paging policy step","tags":["Personal Paging Policies"]},"get":{"description":"Get a rule from a paging policy step\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/username"},{"$ref":"#/components/parameters/pagingPolicyStep"},{"$ref":"#/components/parameters/pagingPolicyRule"},{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"The rule from the paging policy step","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"stepRule":{"$ref":"#/components/schemas/PagingPolicyStepRule"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get a rule from a paging policy step","tags":["Personal Paging Policies"]},"put":{"description":"Update a rule for a paging policy step\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/username"},{"$ref":"#/components/parameters/pagingPolicyStep"},{"$ref":"#/components/parameters/pagingPolicyRule"},{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"$ref":"#/components/requestBodies/AddStepPayload"},"responses":{"200":{"description":"The updated rule for the paging policy step","content":{"application/json":{"schema":{"properties":{"_selfUrl":{"type":"string"},"stepRule":{"$ref":"#/components/schemas/PagingPolicyStepRule"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}},"summary":"Update a rule for a paging policy step","tags":["Personal Paging Policies"]}},"/api-public/v1/team":{"get":{"description":"Get a list of teams for your organization.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"A list of teams for your organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTeamResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"422":{"description":"You have reached your team limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"List teams","tags":["Teams"]},"post":{"description":"Add a team to your organization.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"$ref":"#/components/requestBodies/AddTeamPayload"},"responses":{"200":{"description":"Some details about the team that was added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamDetail"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"422":{"description":"Team name or email is unavailable, or you have reached your team limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Add a team","tags":["Teams"]}},"/api-public/v1/team/{team}":{"delete":{"description":"Remove a team from your organization.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps team to be deleted","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Team was deleted"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"422":{"description":"There was a problem with the delete such as the replacement team was not found.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Remove a team","tags":["Teams"]},"get":{"description":"Get the information for the specified team.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps team to fetch","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Some details about the team that was added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamDetail"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"422":{"description":"Team name or email is unavailable, or you have reached your team limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Retrieve information for a team","tags":["Teams"]},"put":{"description":"Update the designated team\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps team to be updated","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/AddTeamPayload"},"responses":{"200":{"description":"Some details about the team that was added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamDetail"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"422":{"description":"Team name or email is unavailable, or you have reached your team limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Update a team","tags":["Teams"]}},"/api-public/v1/team/{team}/admins":{"get":{"description":"Get the team admins for the specified team.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps team","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Some details about the team that was added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAdminsResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Retrieve a list of team admins for a team","tags":["Teams"]}},"/api-public/v1/team/{team}/members":{"get":{"description":"Get the members for the specified team.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps team to fetch","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Some details about the team that was added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTeamMembersResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"422":{"description":"Team name or email is unavailable, or you have reached your team limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Retrieve a list of members for a team","tags":["Teams"]},"post":{"description":"Add a team member to your team.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps team to fetch","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddTeamMemberPayload"}}},"required":true},"responses":{"200":{"description":"Some details about the team that was added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTeamMembersResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"422":{"description":"Team name or email is unavailable, or you have reached your team limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Add a team member","tags":["Teams"]}},"/api-public/v1/team/{team}/members/{user}":{"delete":{"description":"Remove a team from your organization.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps team to be deleted","in":"path","name":"team","required":true,"schema":{"type":"string"}},{"description":"The team member username","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveTeamMemberPayload"}}},"description":"The user information","required":true},"responses":{"200":{"description":"Team was deleted"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"422":{"description":"There was a problem with the delete such as the replacement team member was not found.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Remove a team member","tags":["Teams"]}},"/api-public/v1/team/{team}/oncall/schedule":{"get":{"deprecated":true,"description":"__NOTE: This call is deprecated. Please use `GET /api-public/v2/team/{team}/oncall/schedule`.__\n\nGet the on-call schedule for a team, including on-call overrides.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps team 'slug'","in":"path","name":"team","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/daysFwd"},{"$ref":"#/components/parameters/daysSkip"},{"$ref":"#/components/parameters/step"}],"responses":{"200":{"description":"The on-call schedule for the team","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnCallAndOverrides"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get a team's on-call schedule","tags":["On-call"]}},"/api-public/v1/team/{team}/oncall/user":{"patch":{"deprecated":true,"description":"__NOTE: This API call is deprecated. Please use `PATCH /api-public/v2/policies/{policy}/oncall/user`__\n\nReplaces a currently on-call user on the team with another.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps team 'slug'","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/TakeRequest"},"responses":{"200":{"description":"The result of the take request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeResult"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"description":"Team or user(s) not found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Create an on-call override (take on-call)","tags":["On-call"]}},"/api-public/v1/team/{team}/policies":{"get":{"description":"Get the escalation policies for the specified team.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps team to fetch","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The escalation policy list. This does not include details about the actual notification steps of the policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscalationPolicyList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/team-not-found"},"422":{"description":"Team name or email is unavailable, or you have reached your team limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Retrieve a list of escalation policies for a team","tags":["Escalation Policies","Teams"]}},"/api-public/v1/user":{"get":{"description":"Get a list of users for your organization\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"A list of users for your organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"422":{"description":"You have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"List users","tags":["Users"]},"post":{"description":"Add a user to your organization\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"}],"requestBody":{"$ref":"#/components/requestBodies/AddUserPayload"},"responses":{"200":{"description":"Some details about the user that was added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1User"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"422":{"description":"Username or email is unavailable, or you have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Add a user","tags":["Users"]}},"/api-public/v1/user/{user}":{"delete":{"description":"Remove a user from your organization. If no replacement is specified, an empty JSON payload (\"{}\") is still required.\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps user to be deleted","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteUserPayload"}}},"required":true},"responses":{"200":{"description":"User was deleted"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"422":{"description":"There was a problem with the delete such as a replacement is required or the replacement user was not found.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Remove a user","tags":["Users"]},"get":{"description":"Get the information for the specified user\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps user to fetch","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Some details about the user that was added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1User"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"422":{"description":"Username or email is unavailable, or you have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Retrieve information for a user","tags":["Users"]},"put":{"description":"Update the designated user\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps user to be updated","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/AddUserPayload"},"responses":{"200":{"description":"Some details about the user that was added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1User"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"422":{"description":"Username or email is unavailable, or you have reached your user limit.\n"},"500":{"$ref":"#/components/responses/500"}},"summary":"Update a user","tags":["Users"]}},"/api-public/v1/user/{user}/contact-methods":{"get":{"description":"Get the contact methods for a user\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps user ID","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"All available contact methods for the user","content":{"application/json":{"schema":{"properties":{"devices":{"items":{"$ref":"#/components/schemas/ContactDevice"},"type":"array"},"emails":{"items":{"$ref":"#/components/schemas/UserContact"},"type":"array"},"phones":{"items":{"$ref":"#/components/schemas/UserContact"},"type":"array"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get a list of all contact methods for a user","tags":["User Contact Methods"]}},"/api-public/v1/user/{user}/contact-methods/devices":{"get":{"description":"Get the contact methods for a user\n\nThis API may be called a maximum of 60 times per minute.\n","parameters":[{"$ref":"#/components/parameters/apiId"},{"$ref":"#/components/parameters/apiKey"},{"description":"The VictorOps user ID","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of contact devices for the user","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ContactDevice"},"type":"array"}}}},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/user-not-found"},"500":{"$ref":"#/components/responses/500"}},"summary":"Get a list of all contact devices for a user","tags":["User Contact Methods"]}},"/api-public/v1/user/{user}/contact-methods/devices/{contactId}":{"delete