Read a consolidated text
leginova_get_texte_consolideRetrieve New Caledonian consolidated legal texts in force, including metadata, article tables, full text by chunk, single articles, and amendment histories.
Instructions
Reads a consolidated text (loi du pays, délibération, arrêté... in its current version with all amendments applied). mode "outline" returns metadata, the table of articles and the amendment history; mode "full" returns the text itself, chunked by max_chars (pass back offset to continue). Pass article_id to read a single article with its own history. Always state the consolidation date when quoting: the text is the version in force on that date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Consolidated text id (texteConsolideId in search results) | |
| mode | No | full | |
| offset | No | ||
| max_chars | No | ||
| article_id | No | Read only this article | |
| include_history | No | Append the list of amending acts |