Content services

Simple method to render documents or parts as HTML

Call to draw content as HTML.

Example: https://api.lovdata.no/renderRefID?refID=lov/2005-05-20-28/§4

get/renderRefID

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/renderRefID
  • Auth: API key in header X-API-Key

Query parameters

refIDstring

Either the semantic ID lov/2005-05-20-28 (where the function guesses what you are looking for), or legal source-specific NL/lov/2005-05-20-28 (these represent basic Work and Expression from FRBR).

formatstring

html or json, which is HTML wrapped as a JSON object. Default html.

Response

Returns HTML for specified document part. If the document part is not specified, meta information ("header") for the document is returned.

object required

Changes

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