Atlas
Operations related to the Atlas global namespace.
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).
Path parameters
hashstringRequiredPattern:
Hex-encoded SHA-1 hash of the attachment (40 characters)
^[0-9a-f]{40}$Responses
200
The attachment content
application/json
400
Bad request
text/plain
404
Not found
text/plain
get
/v2/attachments/{hash}Get inventory of attachments for a given index block hash and page range. This returns a bitfield indicating which attachments are available.
Query parameters
index_block_hashstringRequiredPattern:
Hex-encoded index block hash (64 characters)
^[0-9a-f]{64}$pages_indexesstringRequiredExample:
max 8 pages per request
1,2,3Pattern: ^[0-9]+(,[0-9]+){0,7}$Responses
200
Attachment inventory bitfield
application/json
400
Bad request
text/plain
404
Not found
text/plain
get
/v2/attachments/invLast updated
Was this helpful?
