action bclaws_get_document_id_aspect_id_civix_index_id_civix_document_id_searc { label: "Retrieves a specific document from the BCLaws legislative repository with search text highlighted (HTML format)" description: "The /document API allows you to retrieve actual documents from the BCLaws legislative repository. To retrieve a document from the repository you need the aspect identifier and two other specific pieces of information about the document: the index identifier and the document identifier. These unique identifiers can be retrieved from the /content API." provider: bclaws method: GET path: "/document/id/{aspectId}/{civixIndexId}/{civixDocumentId}/search/{searchString}" encoding: json input: { type: "object" properties: { aspectId: { type: "string" enum: ["complete", "corpreg", "bcgaz1", "bcgaz2", "oic", "psl", "ecb", "hscr", "arch_oic"] } civixDocumentId: { type: "string" } civixIndexId: { type: "string" } searchString: { type: "string" } } required: ["aspectId", "civixDocumentId", "civixIndexId", "searchString"] additionalProperties: false } output: { type: "object" additionalProperties: true } }