Read a law, its provenance and first text part.

Returns: Search item fields plus {metadata,source_commit,repository_url,original_url,parts,part:1,markdown}. Official-source records have null source_commit and repository_url. original_url downloads the complete Markdown conversion. Relevant source metadata and original evidence are preserved. revoked:false does not prove that the law is in force.

get/api/legislation/{id}

Request

  • Base URL: https://okfindex.com
  • URL: https://okfindex.com/api/legislation/{id}
  • Auth: none declared

Path parameters

idstring required

Stable 24-character hexadecimal law ID from search results.

Response

Search item fields plus {metadata,source_commit,repository_url,original_url,parts,part:1,markdown}. Official-source records have null source_commit and repository_url. original_url downloads the complete Markdown conversion. Relevant source metadata and original evidence are preserved. revoked:false does not prove that the law is in force.

Changes

No recorded changes to this operation across all 1 revision of this API.