Content services
Download documents or parts of documents in a variety of formats
get/v1/download/document
Request
- Base URL: https://api.lovdata.no (the document declares no server; this is the origin it was published from)
- URL: https://api.lovdata.no/v1/download/document
- Auth: API key in header X-API-Key
Query parameters
dokIDstring
Unique document ID, for example NL/lov/2005-05-20-28
refIDstring
Reference to a document, either unique document ID specified with legal source or if the legal source is missing, the function tries to interpret this into the most probable document.
partIDstring
Document part ID
partTypestring
Document part type
fileTypestring
File type, one of docx, pdf, html, epub, txt
Response
Binary data with the document content in the requested format
Changes
No recorded changes to this operation across all 1 revision of this API.