{
"opencollection": "1.0.0",
"info": {
"name": "Netography (Vectra Fusion) Analytics Labels - IPs API",
"version": "1.0"
},
"items": [
{
"info": {
"name": "Labels - IPs",
"type": "folder"
},
"items": [
{
"info": {
"name": "List IP Labels",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.netography.com/api/v1/labels/ips"
},
"docs": "Returns an array of ip labels."
},
{
"info": {
"name": "Create IP Label",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.netography.com/api/v1/labels/ips",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Creates a IP label from the data that's been supplied"
},
{
"info": {
"name": "Update IP Label",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.netography.com/api/v1/labels/ips",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Update an IP Label given the provided object. This does not do a diff. You must send the complete object."
},
{
"info": {
"name": "List IP Labels by context",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.netography.com/api/v1/labels/ips/all/:context",
"params": [
{
"name": "context",
"value": "",
"type": "path",
"description": "The context of the IP labels to be returned."
}
]
},
"docs": "Fetches all labels by a specific context for all IPs."
},
{
"info": {
"name": "List IP Labels by ip",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.netography.com/api/v1/labels/ips/:ip",
"params": [
{
"name": "ip",
"value": "",
"type": "path",
"description": "The IP Address of the IP labels to be returned."
}
]
},
"docs": "Fetches a all IP labels for the IP address supplied in the path."
},
{
"info": {
"name": "List IP Labels by ip:context",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.netography.com/api/v1/labels/ips/:ip/:context",
"params": [
{
"name": "ip",
"value": "",
"type": "path",
"description": "The IP Address of the IP labels to be returned."
},
{
"name": "context",
"value": "",
"type": "path",
"description": "The context of the IP labels."
}
]
},
"docs": "Fetches a specific IP label from the IP supplied in the path."
},
{
"info": {
"name": "Delete IP labels by ip:context",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.netography.com/api/v1/labels/ips/:ip/:context",
"params": [
{
"name": "ip",
"value": "",
"type": "path",
"description": "The IP of the IP label to be deleted."
},
{
"name": "context",
"value": "",
"type": "path",
"description": "The context of the IP label to be deleted."
}
]
},
"docs": "Removes all the labels for the provided context."
},
{
"info": {
"name": "Bulk Create/Update IP Labels",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.netography.com/api/v1/labels/ips/bulk",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Bulk create/update IP labels. \nNew labels will be created, and existing labels will be replaced. \nLimited to 10,000 labels per request. \n**Note: the API path has changed from previous versions**\n"
},
{
"info": {
"name": "Bulk Delete IP Labels",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.netography.com/api/v1/labels/ips/bulk",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Bulk delete IP labels from the data that's been supplied."
},
{
"info": {
"name": "Upload IP Labels",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.netography.com/api/v1/labels/ips/upload",
"body": {
"type": "multipart-form",
"data": [
{
"name": "file",
"type": "text",
"value": ""
}
]
}
},
"docs": "Upload IP labels via a CSV file. New labels will be created, and existing labels will be replaced. Limited to 10,000 labels per request.
The CSV must be a text file and should NOT have any headers. Multiple labels can be assigned per context by having additional columns.
Example CSV:
```IP1, Context1, Label1```
```IP1, Context2, Label1, Label2```
```IP2, Context1, Label3```
```IP2, Context4, Label4, Label5, Label6```
"
}
]
}
],
"bundled": true
}