developer.overheid.nl

Dimitri van Hees
d.vanhees@geonovum.nl

Developer portal

  • "A developer portal provides a central place for developers to discover and use services."
  • "To be clear, it's not simply an API catalog. It comprises more than a list of API specs and documentation."
  • "It's a central place for developers to go and learn about the systems that they work on and interact with."
  • "It provides self-service tools to get devs integrated quickly and easily."
  • "And it gives folks a place to go when they have questions."

https://www.opslevel.com/resources/developer-portals-what-are-they-and-why-do-you-need-them

developer.italia.it

italia

developer.tech.gov.sg

singapore

developer.overheid.nl

homepage

Organisatie

organisatie

Kernteam

  • Product Owner: Dimitri van Hees
  • Developer Advocate: Tom Ootes
  • Front-end: Jaap-Hein Wester
  • Backend: Matthijs Hovestad
  • Projectleider: Vivian van der Heijden

Implementatieondersteuning

  • Joost Farla
  • Martin van der Plas
  • Frank Terpstra

Release early, release often

Practice what you preach

  • Front-end op basis van NL Design System
  • Open Source
  • API first

Implementatieondersteuning API's

implementatieondersteuning

Integratie communities

  • Kennisplatform API’s
  • Digilab
  • OSPO-NL

API register

Focus op REST

  • WMS/WFS -> OGC API = REST
  • ODATA (4) = "REST"
  • GraphQL (1)
  • CKAN (1)
  • Atom (1)
  • Socrata (1)

OpenAPI-first

  • Contact info (ADR 2.1)
  • Environments (nog niet in ADR)
  • Security (mTLS vanaf 3.1)
  • Example(s) tbv mocking services en SDK’s
  • JSON schemas (vanaf 3.1)

ADR Scores

  • Op basis van generieke OAS checker ipv validator
  • Hulp bij afwijkingen
  • Representatiever want alleen REST

Organisatie - oude situatie

  • Hard gekoppeld aan Register van Overheidsorganisaties (ROO)
  • Gouden API winnaar "SURF" staat niet in ROO; API kan niet naar register
  • Iedereen kan API's toevoegen namens een organisatie via GitLab

Organisatie - nieuwe situatie

  • Identificatie o.b.v. credentials
  • Gekoppeld aan TOOI (waar mogelijk)
  • Uitzondering voor organisaties buiten ROO

TOOI API

Nieuwe aanleverprocedure

aanleverprocedure

API verwijderen

  • Contact opnemen om API te laten verwijderen
  • Dit omdat een API niet zomaar "verwijderd" kan worden; dit is een lifecycle wijziging

API Lifecycle

API Lifecycle "End-of-Life" phase

end-of-life

Geen standaard, wél API register extensie

openapi: 3.0.3
info:
  version: 1.2.3
  x-deprecated: 2025-10-10 # toekomst of verleden
  x-sunset: 2027-11-11     # altijd in de toekomst

https://github.com/Geonovum/KP-APIs/issues/649

Abonneren op API

  • Op de hoogte blijven van (lifecycle) wijzigingen
  • Via RSS of Discourse
  • Of "Ik gebruik deze API" via e-mail
  • Ook voor providers fijn

OAS 3.1 support

  • Automatisch omzetten van OAS 3.0.x naar 3.1.0
  • JSON Schema's extraheren
  • Typescript types, Java classes etc. genereren

Open Source register

Open Source

  • "Open, tenzij..."
  • EU verplichting
  • Samenwerking Frankrijk, Italië en Brussel
  • Don't reinvent the wheel!
  • Publiccode.yaml first

Publiccode.yaml

Publiccode.yaml

publiccode

Schema register

DVLA-1

dvla-1

DVLA-2

dvla-2

schemas.developer.overheid.nl

  • CORS policy
  • Versiebeheer
  • Zoeken
  • API design; hergebruik en goede examples in docs

openapi.yaml

/apis/{id}:
  parameters:
    - $ref: "#/components/parameters/id"
  get:
    responses:
      "200":
        content:
          application/json:
            schema:
              $ref: "https://schemas.developer.overheid.nl/api.json"

https://schemas.developer.overheid.nl/api.json

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
      "titel": {
          "type": "string"
      },
      "organisatie": {
        "type": "object",
        "properties": {
          "$ref": "https://schemas.standaarden.overheid.nl/tooi/organisatie.json"
        }
      }
  },
  "required": [
    "titel",
    "organisatie"
  ]
}

https://schemas.standaarden.overheid.nl/tooi/organisatie.json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "officieleNaam": {
      "type": "string"
    },
    "verkorteNaam": {
      "type": "string"
    },
    "uri": {
      "type": "string"
    },
    "adres": {
      "type": "object",
      "$ref": "https://schemas.developer.overheid.nl/adres.json" // enz.
    }
  }
}

Techradar

Help mee

  • Kennisbank artikelen
  • Blogposts
  • Interviews
  • Pull requests
  • Feature requests
  • Ideeën

Spread the word!

Op naar één centrale plek voor software development bij de overheid!

This is presenter note. You can write down notes through HTML comment.

_class:image

_class:image