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 API

Get the Table of Contents for an expression

Get a Table of Contents (TOC)

get

API that returns a description of the table of contents (TOC) for a work.

Authorizations
sessionidstringRequired
Path parameters
frbr_uristringRequired

The FRBR URI of the work or work expression, without the first slash, such as akn/za/act/1994/2/

Responses
200Success
application/json
get
/v3/{frbr_uri}/toc
200Success

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

Name
Type
Description

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