TEXT
Status: PRODUCTION A
TEXT
link type represents a plain text resource—such as a .txt
file or other raw textual content accessible via a URL. Beyond the common preview attributes (title
, description
, image
), TEXT
links may provide estimated reading time and direct access to the raw text data.
What It Includes
Whentype
is TEXT
, the response includes a text
object with fields like:
- size: The size of the text content in bytes.
- estimatedReadingTime: Approximate reading time in minutes, based on the text length.
- rawTextUrl: A URL to retrieve the raw text content.
- image: A responsive image object providing various resolutions, if applicable.
Example Request
Example response
Special Notes
- Fallbacks & Computations: If the source text lacks descriptive metadata, Peekalink uses AI-driven strategies to generate these fields.
- Estimated reading time: is computed by analyzing the extracted text content.
- Raw Text Access: The rawTextUrl provides direct access to the full text content for display or processing.