Skip to content
HALOWERK

Codewerk

http etag variant consistency

Return strong ETag collisions when supplied variants of one resource have different body bytes. Local data only.

POST https://code.halowerk.com/v1/http-etag-variant-consistency

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
representationsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "representations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 2048,
            "minLength": 1
          },
          "etag": {
            "type": "string",
            "maxLength": 256,
            "minLength": 1
          },
          "body": {
            "type": "string",
            "maxLength": 10000
          }
        },
        "required": [
          "url",
          "etag",
          "body"
        ],
        "additionalProperties": false
      },
      "maxItems": 20,
      "minItems": 1
    }
  },
  "required": [
    "representations"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "representations": [
    {
      "url": "https://halowerk.com/catalog.json",
      "etag": "\"catalog-v1\"",
      "body": "{\"version\":1}"
    },
    {
      "url": "https://halowerk.com/catalog.json",
      "etag": "\"catalog-v1\"",
      "body": "{\"version\":2}"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’