Cisco AMP for Endpoints API

GET /v1/file_lists/{:file_list_guid}/files/{:sha256}

Description

Returns a particular item for a given file_list. You need to provide a SHA-256 and file_list_guid to get an item.

Show Response Fields

Name Type Description
version String
metadata.links.self String
data.sha256 String
data.source String
data.links.file_list String
Write
Preview

Examples

Fetch file list item with a given SHA-256 and associated with file list for given file_list_guid

Fetch file list item with a given SHA-256 and associated with file list for given file_list_guid

Request

Requires Authorization
GET /v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d/files/00fc4aba3a120ba1f6c3453ea8faa4ca7167fabd30ac297eb59905d7a879e352
Headers
accept: application/json
content-type: application/json
accept-encoding: identity
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

curl -X GET \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'accept-encoding: identity' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.eu.amp.cisco.com/v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d/files/00fc4aba3a120ba1f6c3453ea8faa4ca7167fabd30ac297eb59905d7a879e352'

Response

Shortened for readability

content-type: application/json
transfer-encoding: chunked
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 877
strict-transport-security: max-age=31536000; includeSubDomains, max-age=31536000
referrer-policy: strict-origin-when-cross-origin
x-ratelimit-remaining: 2808
x-permitted-cross-domain-policies: none
x-download-options: noopen
etag: W/"472f73795769f326ee4855ec274b7682"
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2022-03-18T11:55:11Z
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.eu.amp.cisco.com/v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d/files/00fc4aba3a120ba1f6c3453ea8faa4ca7167fabd30ac297eb59905d7a879e352"
    }
  },
  "data": {
    "sha256": "00fc4aba3a120ba1f6c3453ea8faa4ca7167fabd30ac297eb59905d7a879e352",
    "source": "Created by entering SHA-256 via Public api.",
    "links": {
      "file_list": "https://api.eu.amp.cisco.com/v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d"
    }
  }
}