Get Connection Type
Retrieve the info about a specific connection type by its ID.
Parameters
Parameter | Description |
---|---|
Connection Type ID | The type of Blink connection. |
Example Output
[
{
"id": "148fdaf0-cc3d-4964-9508-9b86eb99a0e4",
"created_at": 1679623947114,
"updated_at": 1679854296808,
"created_by": "admin@blinkops.com",
"updated_by": "admin@blinkops.com",
"tenant_id": "55555555-5555-5555-5555-555555555555",
"name": "terraform",
"plugin_name": "http",
"display_name": "Terraform",
"documentation_link": "https://docs.blinkops.com/docs/integrations/terraform-cloud#creating-a-terraform-connection",
"oauth_supported": false,
"attributes": {
"terraform_addr": {
"display_name": "Terraform Address",
"field_type": 0,
"input_type": "text",
"required": true,
"group_type": "",
"placeholder": "TerraForm server address",
"description": "TerraForm API Address (default is https://app.terraform.io).",
"pattern": "",
"options": null,
"default_value": "https://app.terraform.io",
"index": 1,
"format": "",
"is_multi": false,
"source_url": "",
"source_linked_param": "",
"hidden": false,
"linked_hidden": "",
"linked_fields_delimiter": "",
"autofill": {},
"var_picker_sections": null,
"icon_name": "",
"disabled": false,
"dynamic": false
},
"terraform_token": {
"display_name": "Terraform API Token",
"field_type": 0,
"input_type": "password",
"required": true,
"group_type": "",
"placeholder": "Your generated API token",
"description": "The Terraform Cloud API Token.",
"pattern": "",
"options": null,
"default_value": null,
"index": 0,
"format": "",
"is_multi": false,
"source_url": "",
"source_linked_param": "",
"hidden": false,
"linked_hidden": "",
"linked_fields_delimiter": "",
"autofill": {},
"var_picker_sections": null,
"icon_name": "",
"disabled": false,
"dynamic": false
}
},
"Metadata": {
"Authentication": {
"Type": "bearer",
"Keys": [
{
"Name": "authorization",
"Format": "{{connection.terraform_token}}"
}
],
"StaticHeaders": {
"Accept": "application/json"
}
},
"DefaultAPIAddress": "https://app.terraform.io/api/v2",
"TestConnection": {
"Endpoint": "/api/v2/account/details",
"Expected": {
"StatusCodes": "200",
"Payload": null,
"ContentType": "",
"FormatURL": "",
"ErrorPath": ""
},
"Type": "http.get",
"Body": null
},
"Pagination": {
"Type": "",
"Descriptor": null
},
"Validation": {
"StatusCodes": "200-399",
"Payload": null,
"ContentType": "",
"FormatURL": "",
"ErrorPath": ""
},
"IgnoreSSL": false,
"Variables": null
},
"methods": [
{
"name": "default",
"display_name": "API Token",
"is_recommended": true,
"oauth_supported": false,
"documentation_link": "",
"attributes": [
"terraform_addr",
"terraform_token"
]
}
]
}
]
Workflow Library Example
Get Connection Type with Blink and Send Results Via Email