Rettsdata Hackathon API 2019

Rettsdata domain - key elements

TopDestination

Our globally unique document id. Example: "AML" has TopDestination gL20050617z2D62

SubDestination

Within a documment (TopDestination) a SubDestination is unique. Example: Paragraph III within AML is a SubDestination

Api Flow

  1. Source lookup ( api/sources )
  2. Search with pagination: rows + offset. ( api/search )
  3. Lookup a documents metadata ( api/metadata )
  4. Lookup a documents table of contents / ToC ( api/toc )
  5. Lookup content in a document ( api/document )
  6. ... in addition we expose Document Search ( /api/documentsearch ) and compatible CSS belonging to the output of document content ( /api/css )

Lykke til

Swagger / OpenApi 3.0

Metadata about the API (json & description)

Need help? Slack --> Markus Foss