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/e93faae7706644387cd3383aaf1bd9919f9f441acce498f15391eb60eb54288b
Headers
accept: application/json
content-type: application/json
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

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

Response

Shortened for readability

x-ratelimit-limit: 3000
x-ratelimit-reset: 3317
x-ratelimit-remaining: 2867
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2017-08-18T03:52:38Z
strict-transport-security: max-age=31536000
status: 200 OK
transfer-encoding: chunked
content-type: application/json; charset=utf-8
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.amp.cisco.com/v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d/files/e93faae7706644387cd3383aaf1bd9919f9f441acce498f15391eb60eb54288b"
    }
  },
  "data": {
    "sha256": "e93faae7706644387cd3383aaf1bd9919f9f441acce498f15391eb60eb54288b",
    "source": "Created by entering SHA-256 via Public api.",
    "links": {
      "file_list": "https://api.amp.cisco.com/v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d"
    }
  }
}