Table of Contents
Fetching the Table of Contents for an expression.
You can get a description of the table of contents (TOC) of a work. This includes the chapters, parts, sections and schedules that make up the legislation.
How to use the Table of Contents APIGet the Table of Contents for an expression
API that returns a description of the table of contents (TOC) for a work.
The FRBR URI of the work or work expression, without the first slash, such as akn/za/act/1994/2/
Individual parts, chapters and sections
You can use the url field from an item in the Table of Contents to fetch the details of just that item in XML or HTML.
Content for a single part, chapter or section
GET https://api.laws.africa/v3/:frbr-uri/:toc-item.:format
Get the content of a particular Table of Contents item.
Path Parameters
frbr-uri
string
The full FRBR URI for the expression.
toc-item
string
The Table of Contents item to fetch.
format
string
Response format: XML or HTML.
Last updated