{
  "opencollection": "1.0.0",
  "info": {
    "name": "SigNoz alerts cloudintegration API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "cloudintegration",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Agent check-in",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud-integrations/:cloud_provider/agent-check-in",
            "params": [
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "[Deprecated] This endpoint is called by the deployed agent to check in"
        },
        {
          "info": {
            "name": "List accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud_integrations/:cloud_provider/accounts",
            "params": [
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint lists the accounts for the specified cloud provider"
        },
        {
          "info": {
            "name": "Create account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud_integrations/:cloud_provider/accounts",
            "params": [
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint creates a new cloud integration account for the specified cloud provider"
        },
        {
          "info": {
            "name": "Get account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud_integrations/:cloud_provider/accounts/:id",
            "params": [
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint gets an account for the specified cloud provider"
        },
        {
          "info": {
            "name": "Update account",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud_integrations/:cloud_provider/accounts/:id",
            "params": [
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint updates an account for the specified cloud provider"
        },
        {
          "info": {
            "name": "Disconnect account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud_integrations/:cloud_provider/accounts/:id",
            "params": [
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint disconnects an account for the specified cloud provider"
        },
        {
          "info": {
            "name": "Update service",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud_integrations/:cloud_provider/accounts/:id/services/:service_id",
            "params": [
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "service_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint updates a service for the specified cloud provider"
        },
        {
          "info": {
            "name": "Agent check-in",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud_integrations/:cloud_provider/accounts/check_in",
            "params": [
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint is called by the deployed agent to check in"
        },
        {
          "info": {
            "name": "Get connection credentials",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud_integrations/:cloud_provider/credentials",
            "params": [
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint retrieves the connection credentials required for integration"
        },
        {
          "info": {
            "name": "List services metadata",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud_integrations/:cloud_provider/services",
            "params": [
              {
                "name": "cloud_integration_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint lists the services metadata for the specified cloud provider"
        },
        {
          "info": {
            "name": "Get service",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}:{port}{base_path}/api/v1/cloud_integrations/:cloud_provider/services/:service_id",
            "params": [
              {
                "name": "cloud_integration_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "cloud_provider",
                "value": "",
                "type": "path"
              },
              {
                "name": "service_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint gets a service for the specified cloud provider"
        }
      ]
    }
  ],
  "bundled": true
}