Skip to main content
GET
/
evidence
/
{cid}
Retrieves evidence metadata by CID.
curl --request GET \
  --url https://api.example.com/evidence/{cid}
{
  "cid": "<string>",
  "evidence_type": "<string>",
  "gateway_url": "<string>",
  "blockchain_tx": "<string>",
  "captured_at": "<string>",
  "drone_id": "<string>",
  "incident_id": "<string>"
}

Path Parameters

cid
string
required

IPFS Content Identifier

Response

Evidence metadata

Response for evidence metadata.

cid
string
required

IPFS content identifier (primary key).

evidence_type
string
required

Evidence classification (e.g. "image", "video", "sensor").

gateway_url
string
required

IPFS gateway URL for accessing the evidence file.

blockchain_tx
string | null

Blockchain transaction hash anchoring this evidence.

captured_at
string | null

RFC 3339 timestamp when the evidence was captured.

drone_id
string | null

Identifier of the drone that captured the evidence.

incident_id
string | null

Incident this evidence is linked to, if any.