Skip to content
HALOWERK

Text Tools

html ruby language mix

Web page ruby languages count reading annotations by inherited HTML language. Use it when an agent needs locale routing of reading annotations.

POST https://text.halowerk.com/v1/html-ruby-language-mix

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
urlstringYes
limitintegerNo
reuse_licenseSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 640,
      "minLength": 1
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "reuse_license": {
      "enum": [
        "CC0",
        "CC-BY-4.0",
        "public-domain",
        "own-content"
      ]
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "url": "https://www.w3.org/International/articles/ruby/markup",
  "limit": 1
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "annotations": {
          "type": "integer"
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "lang": {
                "type": "string"
              },
              "uses": {
                "type": "integer"
              }
            },
            "required": [
              "lang",
              "uses"
            ]
          }
        }
      },
      "required": [
        "annotations",
        "languages"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub →