All URIs are relative to https://api.odin.io/
Method | HTTP request | Description |
---|---|---|
v1_exposed_buckets_count_post | POST /v1/exposed/buckets/count | Get exposed bucket count |
v1_exposed_buckets_search_post | POST /v1/exposed/buckets/search | Search exposed buckets |
v1_exposed_buckets_summary_post | POST /v1/exposed/buckets/summary | Get Exposed buckets summary |
InlineResponse2009 v1_exposed_buckets_count_post(body)
Get exposed bucket count
Get exposed bucket count according to provided filters
from __future__ import print_function
import time
import odin
from odin.rest import ApiException
from pprint import pprint
# Configure API key authorization: ApiKeyAuth
configuration = odin.Configuration()
configuration.api_key['X-API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = odin.ExposedBucketsApi(odin.ApiClient(configuration))
body = odin.ExposedCountRequest() # ExposedCountRequest | Count Request
try:
# Get exposed bucket count
api_response = api_instance.v1_exposed_buckets_count_post(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ExposedBucketsApi->v1_exposed_buckets_count_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | ExposedCountRequest | Count Request |
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ExposedBucketAPIResponse v1_exposed_buckets_search_post(body)
Search exposed buckets
Search exposed buckets according to provided filters Search across categories {img, aud, vid, font, doc, src, web, bkup, dbdump} Search across labels {credential, financial, pii, legal, ip, medical, hr, report, confidential, backup, compromised, vulnerable} Search across providers {aws, gcp, do, linode}
from __future__ import print_function
import time
import odin
from odin.rest import ApiException
from pprint import pprint
# Configure API key authorization: ApiKeyAuth
configuration = odin.Configuration()
configuration.api_key['X-API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = odin.ExposedBucketsApi(odin.ApiClient(configuration))
body = odin.ExposedSearchRequest() # ExposedSearchRequest | Search Query
try:
# Search exposed buckets
api_response = api_instance.v1_exposed_buckets_search_post(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ExposedBucketsApi->v1_exposed_buckets_search_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | ExposedSearchRequest | Search Query |
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20010 v1_exposed_buckets_summary_post(body)
Get Exposed buckets summary
Get Returns exposed buckets aggregated count according to filters
from __future__ import print_function
import time
import odin
from odin.rest import ApiException
from pprint import pprint
# Configure API key authorization: ApiKeyAuth
configuration = odin.Configuration()
configuration.api_key['X-API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = odin.ExposedBucketsApi(odin.ApiClient(configuration))
body = odin.ExposedSummaryRequest() # ExposedSummaryRequest | Summary Request
try:
# Get Exposed buckets summary
api_response = api_instance.v1_exposed_buckets_summary_post(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ExposedBucketsApi->v1_exposed_buckets_summary_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | ExposedSummaryRequest | Summary Request |
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]