All URIs are relative to https://api.odin.io
Method | HTTP request | Description |
---|---|---|
v1CvesAllIpPageGet | GET /v1/cves/all/{ip}/{page} | Get cve details |
v1HostsCountPost | POST /v1/hosts/count | Get the record count |
v1HostsCveIpGet | GET /v1/hosts/cve/{ip}/ | Get ip cve details |
v1HostsCvesIpCveGet | GET /v1/hosts/cves/{ip}/{cve} | Get cve |
v1HostsExploitsIpCveGet | GET /v1/hosts/exploits/{ip}/{cve} | Get exploits for ip and cve |
v1HostsExploitsIpGet | GET /v1/hosts/exploits/{ip}/ | Get exploits for ip |
v1HostsIpGet | GET /v1/hosts/{ip}/ | Get the latest ip details |
v1HostsSearchPost | POST /v1/hosts/search | Search hosts |
v1HostsSummaryPost | POST /v1/hosts/summary | Get summary |
v2HostsCountPost | POST /v2/hosts/count | Fetch the record count |
v2HostsIpPost | POST /v2/hosts/{ip} | Fetch the latest ip details |
v2HostsSearchPost | POST /v2/hosts/search | Fetch the record based on query |
v2HostsSummaryPost | POST /v2/hosts/summary | Create the summary of the field based on query |
IpservicesIpCveResponse v1CvesAllIpPageGet(ip, page)
Get cve details
Get the detailed cve details for ip based on page
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let ip = "ip_example"; // String | get the ip
let page = "page_example"; // String | get the page
apiInstance.v1CvesAllIpPageGet(ip, page, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
ip | String | get the ip | |
page | String | get the page |
- Content-Type: Not defined
- Accept: application/json
V1HostsCountPost200Response v1HostsCountPost(query)
Get the record count
Returns the total no of records based on query
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let query = new Odin.CountRequest(); // CountRequest | Count Query
apiInstance.v1HostsCountPost(query, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
query | CountRequest | Count Query |
- Content-Type: Not defined
- Accept: application/json
IpservicesIpCveResponse v1HostsCveIpGet(ip)
Get ip cve details
Get detailed lost of cve ips
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let ip = "ip_example"; // String | get the ip
apiInstance.v1HostsCveIpGet(ip, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
ip | String | get the ip |
- Content-Type: Not defined
- Accept: application/json
IpservicesIpCveResponse v1HostsCvesIpCveGet(ip, cve)
Get cve
Get the detailed cve based on ip and cve
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let ip = "ip_example"; // String | host ip ip
let cve = "cve_example"; // String | cve id
apiInstance.v1HostsCvesIpCveGet(ip, cve, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
ip | String | host ip ip | |
cve | String | cve id |
- Content-Type: Not defined
- Accept: application/json
V1HostsExploitsIpCveGet200Response v1HostsExploitsIpCveGet(ip, cve)
Get exploits for ip and cve
Get the detailed exploit details for ip and cve
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let ip = "ip_example"; // String | ip address of the host
let cve = "cve_example"; // String | cve id
apiInstance.v1HostsExploitsIpCveGet(ip, cve, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
ip | String | ip address of the host | |
cve | String | cve id |
V1HostsExploitsIpCveGet200Response
- Content-Type: Not defined
- Accept: application/json
IpservicesIpCveResponse v1HostsExploitsIpGet(ip)
Get exploits for ip
Get the detailed list of exploits for the ip
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let ip = "ip_example"; // String | get the ip
apiInstance.v1HostsExploitsIpGet(ip, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
ip | String | get the ip |
- Content-Type: Not defined
- Accept: application/json
V1HostsIpGet200Response v1HostsIpGet(ip)
Get the latest ip details
Get the complete and latest ip details
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let ip = "ip_example"; // String | get the ip
apiInstance.v1HostsIpGet(ip, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
ip | String | get the ip |
- Content-Type: Not defined
- Accept: application/json
V1HostsSearchPost200Response v1HostsSearchPost(query)
Search hosts
Get the detailed list of hosts based on query
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let query = new Odin.SearchRequest(); // SearchRequest | Search Query
apiInstance.v1HostsSearchPost(query, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
query | SearchRequest | Search Query |
- Content-Type: Not defined
- Accept: application/json
IpservicesHostsSummaryResponse v1HostsSummaryPost(query)
Get summary
Get the summary of hosts based on the field
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let query = new Odin.SummaryRequest(); // SummaryRequest | Summary
apiInstance.v1HostsSummaryPost(query, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
query | SummaryRequest | Summary |
IpservicesHostsSummaryResponse
- Content-Type: Not defined
- Accept: application/json
V2HostsCountPost200Response v2HostsCountPost(query)
Fetch the record count
Returns the total no of records based on query
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let query = new Odin.CybleComOdinApiControllersV2IpservicesCountRequest(); // CybleComOdinApiControllersV2IpservicesCountRequest | Count Query
apiInstance.v2HostsCountPost(query, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
query | CybleComOdinApiControllersV2IpservicesCountRequest | Count Query |
- Content-Type: Not defined
- Accept: application/json
CybleComOdinApiControllersV2IpservicesAPIResponse v2HostsIpPost(ip)
Fetch the latest ip details
Returns the complete ip details
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let ip = "ip_example"; // String | get the ip
apiInstance.v2HostsIpPost(ip, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
ip | String | get the ip |
CybleComOdinApiControllersV2IpservicesAPIResponse
- Content-Type: Not defined
- Accept: application/json
V2HostsSearchPost200Response v2HostsSearchPost(query)
Fetch the record based on query
Returns the record based on query and blank query will return all records. It uses es searchafter for the pagination.
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let query = new Odin.CybleComOdinApiControllersV2IpservicesSearchRequest(); // CybleComOdinApiControllersV2IpservicesSearchRequest | Search Query
apiInstance.v2HostsSearchPost(query, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
query | CybleComOdinApiControllersV2IpservicesSearchRequest | Search Query |
- Content-Type: Not defined
- Accept: application/json
V2HostsSummaryPost200Response v2HostsSummaryPost(query)
Create the summary of the field based on query
Returns the summary of the field based on query
import Odin from "odin";
let defaultClient = Odin.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
ApiKeyAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new Odin.HostsApi();
let query = new Odin.CybleComOdinApiControllersV2IpservicesSummaryRequest(); // CybleComOdinApiControllersV2IpservicesSummaryRequest | Summary
apiInstance.v2HostsSummaryPost(query, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
query | CybleComOdinApiControllersV2IpservicesSummaryRequest | Summary |
- Content-Type: Not defined
- Accept: application/json