Get the Configuration of a Third-Party Service Integration¶
On this page
Groups and projects are synonymous terms. Your {GROUP-ID}
is the
same as your project ID. For existing groups, your group/project ID
remains the same. The resource and corresponding endpoints use the
term groups
.
https://cloud.mongodb.com/api/atlas/v1.0
Syntax¶
GET /groups/{GROUP-ID}/integrations/{INTEGRATION-TYPE}
Request Path Parameters¶
Parameter | Required/Optional | Description |
---|---|---|
{GROUP-ID} | Required | Project identifier. |
{INTEGRATION-TYPE} | Required | Third-party service integration identifier. Accepted values are:
|
Request Query Parameters¶
This endpoint might use any of the HTTP request query parameters available to all Atlas Administration API resources. All of these are optional.
Name | Type | Necessity | Description | Default | ||||||
---|---|---|---|---|---|---|---|---|---|---|
pretty | boolean | Optional | Flag indicating whether the response body should be in a
prettyprint format. | false | ||||||
envelope | boolean | Optional | Flag indicating if Atlas should wrap the response in a JSON envelope. This option may be needed for some API clients. These clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. For endpoints that return one result, the response body includes:
| false |
Request Body Parameters¶
This endpoint does not use HTTP request body parameters.
Response Elements¶
The response returns the specified third-party integration
configuration object if that service has been configured. If it has not
been configured, the response will return an
INTEGRATION_NOT_CONFIGURED
error.
Each third-party integration configuration object includes a type
property equal to its own integration type (e.g. "type":
"PAGER_DUTY"
). Additionally, each third-party service configuration
object provides details specific to that service. The following lists
the properties returned for each third-party service configuration
object:
Service | Result | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PagerDuty | A returned PagerDuty integration configuration object will contain the following fields:
| ||||||||||||
Slack | A returned Slack integration configuration object will contain the following fields:
| ||||||||||||
Datadog | A returned Datadog integration configuration object will contain the following fields:
| ||||||||||||
New Relic | A returned New Relic integration configuration object will contain the following fields: Important Effective Wednesday, June 16th, 2021, New Relic no longer supports the plugin-based integration with MongoDB. We do not recommend that you sign up for the plugin-based integration. To learn more, see the New Relic Plugin EOL Statement. Consider configuring an alternative monitoring integration before June 16th to maintain visibility into your MongoDB deployments.
| ||||||||||||
Opsgenie | A returned Opsgenie integration configuration object will contain the following fields:
| ||||||||||||
VictorOps | A returned VictorOps integration configuration object will contain the following fields:
The configuration object may also contain the following fields, depending on your configuration:
| ||||||||||||
Flowdock | A returned Flowdock integration configuration object will contain the following fields:
| ||||||||||||
Webhook Settings | A returned webhook configuration object will contain the following fields:
The configuration object may also contain the following fields, depending on your configuration:
|
Example Request¶
curl -X GET -u "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest "https://cloud.mongodb.com/api/atlas/v1.0/groups/5d791c84ff7a2522cc4f9aa1/integrations/DATADOG"
Example Response¶
{ "apiKey": "112233", "region": "US", "type": "DATADOG" }