{"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"},"type":{"enum":["generic"],"type":"string","$$ref":"#/components/schemas/ConnectorType"},"name":{"example":"Cisco Slack","type":"string"},"target":{"example":"https://hooks.slack.com/services/abc/xyz","type":"string"},"authentication":{"discriminator":{"mapping":{"basic":"#/components/schemas/BasicAuthentication","bearer":"#/components/schemas/BearerTokenAuthentication","other":"#/components/schemas/OtherTokenAuthentication","oauth_code":"#/components/schemas/OauthCodeAuthentication","oauth_client_credentials":"#/components/schemas/OauthClientCredentialsAuthentication"},"propertyName":"type"},"oneOf":[{"properties":{"username":{"example":"user1","type":"string"},"password":{"example":"abc123","type":"string"},"type":{"enum":["basic","bearer-token","oauth-auth-code","oauth-client-credentials","other-token"],"type":"string","$$ref":"#/components/schemas/AuthenticationType"}},"required":["password","type","username"],"type":"object","$$ref":"#/components/schemas/BasicAuthentication"},{"properties":{"token":{"type":"string"},"type":{"enum":["basic","bearer-token","oauth-auth-code","oauth-client-credentials","other-token"],"type":"string","$$ref":"#/components/schemas/AuthenticationType"}},"required":["token","type"],"type":"object","$$ref":"#/components/schemas/BearerTokenAuthentication"},{"properties":{"token":{"type":"string"},"type":{"enum":["basic","bearer-token","oauth-auth-code","oauth-client-credentials","other-token"],"type":"string","$$ref":"#/components/schemas/AuthenticationType"}},"required":["token","type"],"type":"object","$$ref":"#/components/schemas/OtherTokenAuthentication"},{"properties":{"token":{"type":"string"},"refreshToken":{"type":"string"},"oauthClientId":{"type":"string"},"oauthAuthUrl":{"type":"string"},"oauthTokenUrl":{"type":"string"},"oauthClientSecret":{"type":"string"},"code":{"type":"string"},"redirectUri":{"type":"string"},"type":{"enum":["basic","bearer-token","oauth-auth-code","oauth-client-credentials","other-token"],"type":"string","$$ref":"#/components/schemas/AuthenticationType"}},"required":["code","oauthAuthUrl","oauthClientId","oauthClientSecret","oauthTokenUrl","redirectUri","type"],"type":"object","$$ref":"#/components/schemas/OauthCodeAuthentication"},{"properties":{"token":{"type":"string"},"oauthClientId":{"type":"string"},"oauthTokenUrl":{"type":"string"},"oauthClientSecret":{"type":"string"},"type":{"enum":["basic","bearer-token","oauth-auth-code","oauth-client-credentials","other-token"],"type":"string","$$ref":"#/components/schemas/AuthenticationType"}},"required":["oauthClientId","oauthClientSecret","oauthTokenUrl","type"],"type":"object","$$ref":"#/components/schemas/OauthClientCredentialsAuthentication"}],"type":"object","$$ref":"#/components/schemas/GenericConnectorAuth"},"lastModifiedDate":{"description":"The date when the connector was last modified.","example":"2023-10-01T12:00:00Z","format":"date-time","readOnly":true,"type":"string"},"headers":{"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"}},"required":["name","target","type"],"type":"object","$$ref":"#/components/schemas/GenericConnector"},"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/GenericConnectors","title":"GenericConnectors"}}