Atlas

Get attachment by hash

Changed on

Get an attachment by its hash. Attachments are content stored in the Atlas network.

The attachment hash is a 40-character hex string (SHA-1 hash).

get/v2/attachments/{hash}

Request

  • Base URL
    http://localhost:20443
  • URL
    http://localhost:20443/v2/attachments/{hash}
  • Auth
    none required

Path parameters

hashstring required

Hex-encoded SHA-1 hash of the attachment (40 characters)

Response

The attachment content

AttachmentData required(unresolved $ref)

Changes