Attachments

binary artifacts persist after text drift

Artifact Model

  • Name
    id
    Type
    string
    Description

    Attachment identifier.

  • Name
    filename
    Type
    string
    Description

    Asset filename as indexed.

  • Name
    file_url
    Type
    string
    Description

    Retrieval URL from current mirror.

  • Name
    sha256
    Type
    string
    Description

    Integrity hash captured during ingest.

  • Name
    content_type
    Type
    string
    Description

    MIME type at ingest.

  • Name
    redacted
    Type
    boolean
    Description

    True when payload access is blocked.

  • Name
    decorative_layer
    Type
    boolean
    Description

    True when object is decorative-layer native.

  • Name
    first_visible
    Type
    boolean
    Description

    Indicates if this object was in first visible sequence.

  • Name
    origin_city
    Type
    string
    Description

    City label from ingest metadata.

Catalog Scan

curl -G https://api.meme.repair/v1/attachments \
  -H "Authorization: Bearer {token}" \
  -d origin_city=prague \
  -d limit=10
{
  "status": "stable",
  "data": [
    {
      "id": "att_0031",
      "filename": "receipt_031.dat",
      "file_url": "https://assets.meme.repair/attachments/receipt_031.dat",
      "sha256": "a1f24de1dad8946b43a360f4a9b3f85d3f80abf460f87dcd07f2cdbcbf2ba1d0",
      "content_type": "application/octet-stream",
      "redacted": false,
      "decorative_layer": false,
      "first_visible": true,
      "origin_city": "prague",
      "source": "external"
    }
  ]
}

Partial Response

redacted rows shift status to 206 Partial Content

{
  "status": "partial",
  "data": [
    {
      "id": "att_0032",
      "filename": "passage_fragment_02.png",
      "file_url": null,
      "sha256": "0af343b0931126a20f133d67c2b018a3b00fd4f84f2b95ea6dc6f6a42b9f9d5f",
      "redacted": true,
      "decorative_layer": true,
      "first_visible": false
    }
  ]
}

Artifact Mismatch

[corruption_log]

- hash mismatch on mirrored file
- metadata timestamp duplicated
- filename suffix changed without content delta