Integrations Response
Returns an array of response integrations.
List of Response Integrations Requested, or an array containing the new/updated Response Integration after a Create or Update operation.
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
GET /api/v1/integrations/response HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"adapter": "bgp",
"name": "text",
"description": "text",
"config": {
"expiration": 3600,
"community": "65534:999",
"factors": [
"srcip"
],
"max": 0,
"neighbors": [
"96.91.123.225-96.91.123.226"
],
"nexthop": "192.0.2.1",
"whitelist": [
"96.91.123.225"
]
}
}
]
}Creates a response integration from the data that's been supplied. Do not provide an id. IDs are auto generated
List of Response Integrations Requested, or an array containing the new/updated Context Integration after a Create or Update operation.
The type of response integration. The config object is dependant on this.
The name of the response integration
The description of the response integration.
List of Response Integrations Requested, or an array containing the new/updated Response Integration after a Create or Update operation.
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
POST /api/v1/integrations/response HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 229
{
"adapter": "bgp",
"name": "text",
"description": "text",
"config": {
"expiration": 3600,
"community": "65534:999",
"factors": [
"srcip"
],
"max": 0,
"neighbors": [
"96.91.123.225-96.91.123.226"
],
"nexthop": "192.0.2.1",
"whitelist": [
"96.91.123.225"
]
}
}{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"adapter": "bgp",
"name": "text",
"description": "text",
"config": {
"expiration": 3600,
"community": "65534:999",
"factors": [
"srcip"
],
"max": 0,
"neighbors": [
"96.91.123.225-96.91.123.226"
],
"nexthop": "192.0.2.1",
"whitelist": [
"96.91.123.225"
]
}
}
]
}Tests the supplied Response Integration configuration.
List of Response Integrations Requested, or an array containing the new/updated Context Integration after a Create or Update operation.
The type of response integration. The config object is dependant on this.
The name of the response integration
The description of the response integration.
List of Response Integrations Requested, or an array containing the new/updated Response Integration after a Create or Update operation.
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
POST /api/v1/integrations/response/test HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 229
{
"adapter": "bgp",
"name": "text",
"description": "text",
"config": {
"expiration": 3600,
"community": "65534:999",
"factors": [
"srcip"
],
"max": 0,
"neighbors": [
"96.91.123.225-96.91.123.226"
],
"nexthop": "192.0.2.1",
"whitelist": [
"96.91.123.225"
]
}
}{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"adapter": "bgp",
"name": "text",
"description": "text",
"config": {
"expiration": 3600,
"community": "65534:999",
"factors": [
"srcip"
],
"max": 0,
"neighbors": [
"96.91.123.225-96.91.123.226"
],
"nexthop": "192.0.2.1",
"whitelist": [
"96.91.123.225"
]
}
}
]
}Fetches a specific response integration from the ID supplied in the path.
The ID of the response integration to be returned.
List of Response Integrations Requested, or an array containing the new/updated Response Integration after a Create or Update operation.
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
GET /api/v1/integrations/response/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"adapter": "bgp",
"name": "text",
"description": "text",
"config": {
"expiration": 3600,
"community": "65534:999",
"factors": [
"srcip"
],
"max": 0,
"neighbors": [
"96.91.123.225-96.91.123.226"
],
"nexthop": "192.0.2.1",
"whitelist": [
"96.91.123.225"
]
}
}
]
}Update a response integration given the provided object. This does not do a diff. You must send the complete object.
The ID of the response integration to be updated
List of Response Integrations Requested, or an array containing the new/updated Context Integration after a Create or Update operation.
The type of response integration. The config object is dependant on this.
The name of the response integration
The description of the response integration.
List of Response Integrations Requested, or an array containing the new/updated Response Integration after a Create or Update operation.
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/integrations/response/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 229
{
"adapter": "bgp",
"name": "text",
"description": "text",
"config": {
"expiration": 3600,
"community": "65534:999",
"factors": [
"srcip"
],
"max": 0,
"neighbors": [
"96.91.123.225-96.91.123.226"
],
"nexthop": "192.0.2.1",
"whitelist": [
"96.91.123.225"
]
}
}{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"adapter": "bgp",
"name": "text",
"description": "text",
"config": {
"expiration": 3600,
"community": "65534:999",
"factors": [
"srcip"
],
"max": 0,
"neighbors": [
"96.91.123.225-96.91.123.226"
],
"nexthop": "192.0.2.1",
"whitelist": [
"96.91.123.225"
]
}
}
]
}Deletes a response integration
The ID of the response integration to be deleted
An empty array
No content
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
DELETE /api/v1/integrations/response/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated