Browse
Walk a code body's hierarchy
List the immediate children of a code body (or of a parent node within it) — titles, chapters, sections. (Costs 1 credit.)
get/api/v1/browse
Request
- Base URL: https://corpuslaw.us
- URL: https://corpuslaw.us/api/v1/browse
- Auth: HTTP bearer
Query parameters
codeBodyIdstring required
UUID of the code body (from /api/v1/code-bodies).
parentstring
Optional parent node UUID; omit for top-level.
Response
Success
object required
Example response
{
"nodes": [
{
"id": "uuid",
"heading": "Chapter 1",
"citation": "§ 1"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.