Other
bclaws.ca:bclaws
BC Laws sandbox and mock API
BC Laws is an electronic library providing free public access to the laws of British Columbia. BC Laws is hosted by the Queen's Printer of British Columbia and published in partnership with the Ministry of Justice and the Law Clerk of the Legislative Assembly.BC Laws contains a comprehensive collection of BC legislation and related materials. It is available on the internet in two forms:First: The Writes persist, data moves on a schedule and every change can fire a signed webhook.
- Operations
- 7
- Collections
- -
- Event types
- -
example request
curl https://your-bclaws-ca-bclaws.slurry.io/civix/content/123 \
-H "Authorization: Bearer slurry_sim_..."Your simulation gets its own hostname, key and IP allow-list. Built from API version 1.0.0.
What gets simulated
Collections, relationships and state machines are worked out from the spec when you start the simulation.
- State. Creates, updates and deletes persist and show up in later reads.
- Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
- Webhooks. Every change emits a signed, retried event.
- Failure. Per-endpoint errors, latency and chaos rules, on demand.
Operations
All 7.
- GET/content/{aspectId}
- GET/content/{aspectId}/{civixDocumentId}
- GET/document/id/{aspectId}/{civixIndexId}/{civixDocumentId}
- GET/document/id/{aspectId}/{civixIndexId}/{civixDocumentId}/search/{searchString}
- GET/document/id/{aspectId}/{civixIndexId}/{civixDocumentId}/xml
- GET/document/id/{aspectId}/{civixIndexId}/{civixDocumentId}/xml/search/{searchString}
- GET/search/{aspectId}/fullsearch