{"type":"model","meta":{"id":"/apps/pubhub/media/000-v7-apis/9c4b12f9a84d8f0256226a1e8899c24de87cd7d0/68c48c74-33c8-3d31-92e9-0dd1508b00a3","info":{"description":"Manage connectors and operations.","title":"Integrations API","version":"7.0.65"},"tags":[{"description":"Manage the connectors assigned to an operation.","name":"Operation Connectors"},{"description":"Webhook operations allow you to customize the payload of generic connectors.","name":"Webhook Operations"},{"description":"A generic connector represents an instance of a third-party service that you can integrate with the ThousandEyes platform.","name":"Generic Connectors"}],"openapi":"3.0.1","servers":[{"description":"ThousandEyes API v7","url":"https://api.thousandeyes.com/v7"}]},"spec":{"properties":{"items":{"items":{"properties":{"id":{"example":"cb1b8033-ea2d-4e9b-a920-fe87850693cf","readOnly":true,"type":"string"},"name":{"example":"My operation","type":"string"},"enabled":{"type":"boolean"},"category":{"enum":["alerts","recommendations","traffic-monitoring"],"type":"string","$$ref":"#/components/schemas/OperationCategory"},"status":{"enum":["pending","connected","failing","unverified"],"type":"string","$$ref":"#/components/schemas/OperationStatus"},"path":{"example":"/custom/path","type":"string"},"payload":{"description":"Handlebars template for the payload.","example":"{\"property1\": {{numericVar}}, \"property2\": \"{{stringVar}}\"}","type":"string"},"headers":{"example":[{"name":"Content-Type","value":"application/json"}],"items":{"properties":{"name":{"example":"Content-Type","type":"string"},"value":{"example":"application/json","type":"string"}},"required":["name","value"],"type":"object","$$ref":"#/components/schemas/Header"},"type":"array"},"queryParams":{"description":"Handlebars template for the query params. Most compile into a proper JSON object where each object property will define the query param name and the object property value define the corresponding query param value.","example":"{\"queryParam1\":\"{{stringVar}}\"}","type":"string"},"type":{"enum":["webhook"],"type":"string","$$ref":"#/components/schemas/OperationType"},"_links":{"description":"A links object containing the self link.","properties":{"self":{"description":"A hyperlink from the containing resource to a URI.","properties":{"href":{"description":"Its value is either a URI [RFC3986] or a URI template [RFC6570].","example":"https://api.thousandeyes.com/v7/link/to/resource/id","type":"string"},"templated":{"description":"Should be true when the link object's \"href\" property is a URI template.","type":"boolean"},"type":{"description":"Used as a hint to indicate the media type expected when dereferencing the target resource.","type":"string"},"deprecation":{"description":"Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation.","type":"string"},"name":{"description":"Its value may be used as a secondary key for selecting link objects that share the same relation type.","type":"string"},"profile":{"description":"A URI that hints about the profile of the target resource.","type":"string"},"title":{"description":"Intended for labelling the link with a human-readable identifier","type":"string"},"hreflang":{"description":"Indicates the language of the target resource","type":"string"}},"required":["href"],"type":"object","$$ref":"#/components/schemas/Link"}},"readOnly":true,"type":"object","$$ref":"#/components/schemas/SelfLinks"}},"required":["category","name","status"],"type":"object","$$ref":"#/components/schemas/WebhookOperation"},"type":"array"},"_links":{"description":"A links object containing the self link.","properties":{"self":{"description":"A hyperlink from the containing resource to a URI.","properties":{"href":{"description":"Its value is either a URI [RFC3986] or a URI template [RFC6570].","example":"https://api.thousandeyes.com/v7/link/to/resource/id","type":"string"},"templated":{"description":"Should be true when the link object's \"href\" property is a URI template.","type":"boolean"},"type":{"description":"Used as a hint to indicate the media type expected when dereferencing the target resource.","type":"string"},"deprecation":{"description":"Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation.","type":"string"},"name":{"description":"Its value may be used as a secondary key for selecting link objects that share the same relation type.","type":"string"},"profile":{"description":"A URI that hints about the profile of the target resource.","type":"string"},"title":{"description":"Intended for labelling the link with a human-readable identifier","type":"string"},"hreflang":{"description":"Indicates the language of the target resource","type":"string"}},"required":["href"],"type":"object","$$ref":"#/components/schemas/Link"}},"readOnly":true,"type":"object","$$ref":"#/components/schemas/SelfLinks"}},"type":"object","$$ref":"#/components/schemas/WebhookOperations","title":"WebhookOperations"}}