Skip to content

Resources

This page is generated from the server's own resource definitions. The server offers 5 resources, which in applications that support them a person can attach to a conversation.

Static resources

saved_searches

Your saved searches, with their filters and when each was last checked.

URI: boe://saved-searches

MIME type: application/json

Resource templates

law

Overview of a consolidated law: status, dates, department and amendment counts.

URI template: boe://law/{law_id}

MIME type: application/json

article

Current text of one article of a consolidated law, by its block id.

URI template: boe://law/{law_id}/article/{block_id}

MIME type: application/json

gazette_day

What the BOE published on one day (ISO date), grouped by section and department; gives the first 100 items of the day.

URI template: boe://gazette/{day}

MIME type: application/json

codes

Every code and name of one BOE table; kind is department or rank. For subject codes use the find_codes tool.

URI template: boe://codes/{kind}

MIME type: application/json