Dokumentabschnitt
ris_dokument_abschnittReturn a specific section of an already open RIS legal document using a character offset or document number. Designed for the viewer widget to display parts of the document.
Instructions
Return one section of a document already open in the RIS document viewer. Intended for the viewer widget, not for direct use — for the full text of a document use ris_dokument.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct URL of the open document, for documents opened by URL rather than by number | |
| offset | No | Character offset into the document text; 0 returns the first section and the outline | |
| dokumentnummer | No | RIS document number of the open document - from the ris_dokument call that opened it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The requested section of the document text | |
| outline | No | Jump targets of the document. Only returned for offset 0; empty when the document has no headings | |
| source_url | No | RIS URL the document text was rendered from | |
| next_offset | Yes | Offset to request for the following section, or null at the end of the document | |
| total_length | Yes | Length of the complete document text — compare across calls to detect that the document was re-fetched and offsets shifted | |
| dokumentnummer | No | RIS document number of the document this section belongs to |