Fetch one AMIRA record
fetchRetrieve one AMIRA record by an id from the search tool. Returns { id, title, text, url, metadata } — text concatenates the record's descriptive fields, url is the citable AMIRA/Omeka page, and DOI / watch / listen URLs appear in metadata when available. Large text is OPT-IN: video and podcast transcripts, and publications' extracted PDF full text, are omitted by default (metadata reports has_transcript / transcript_length and has_fulltext / fulltext_length) because either can run to tens of thousands of characters. Set the matching include_* flag to append one, and page it with the offset/max_chars pair — the window is sized to what max_chars leaves after the metadata header, and *_returned_chars is exactly what landed in text, so the next page starts at offset + returned_chars with no gap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A typed record id from search: item:7392 | pub:30001 | video:39218 | podcast:39121 | project:37700 | section:218 | |
| max_chars | No | Cap on the whole returned text body, default/max 25000 | |
| fulltext_offset | No | Start offset into the full text (chars), with include_fulltext | |
| include_fulltext | No | Default false — set true to append a publication's extracted full text | |
| transcript_offset | No | Start offset into the transcript (chars), with include_transcript | |
| fulltext_max_chars | No | Max full-text characters to return (default/max 25000) | |
| include_transcript | No | Default false — set true to append the video/podcast transcript | |
| transcript_max_chars | No | Max transcript characters to return (default/max 25000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| url | No | ||
| text | No | ||
| error | No | Present instead of the record when the id is unknown | |
| title | No | ||
| metadata | No |