Project

General

Profile

Project activity #30875

closed

Project activity #30766: Documenten API Spec updaten naar 1.5

Update Documenten API naar versie 1.5 van de DRC spec

Added by Erik Hoogland 3 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
P4 Normal
Assignee:
Target version:
-
Start date:
06/02/2025
Due date:
% Done:

100%

Estimated time:

Description

De huidige DRC implementatie is van versie 1.1/1.2. Deze loopt al enige tijd achter op de nieuwe specificatie, namelijk 1.5.
Er vanuit gaand dat #30874 eerst is afgerond, zal de versie van de specificatie 1.3.0 zijn

https://github.com/VNG-Realisatie/documenten-api/blob/develop/CHANGELOG.rst

Met name 1.4.x is een major wijziging dus daar zal veel tijd inzitten.
Belangrijk is om van laag naar hoog te werken:
  • 1.4.0 major update
    • API gewijzigd, dus nieuwe tests schrijven en dan implementeren, met name stukje expand wat totaal nieuw is
  • 1.4.1 minor update
    • Geen API wijzigingen kijken of de tests nog voldoen voor GET bestandsdelen
  • 1.4.2 minor update
    • functionaliteit gewijzigd, test herzien
  • 1.4.3 minor update
    • functionaliteit gewijzigd, test herzien POST bestandsdelen
  • 1.5.0 minor update
    • API gewijzigd, dus nieuwe tests schrijven en dan implementeren
      1.5.0 (2024-25-03)
      ===========
      - **Added:** Fields on EIO (inhoudIsVervallen).
      ===========
      1.4.3 (2023-10-24)
      ===========
      - **Changed:** `lock` attribute shows up in EIO.bestandsdelen POST response after creating an EIO.
      ===========
      1.4.2 (2023-09-25)
      ===========
      - **Changed:** added expand queryparameter to /zoek
      - **Changed:** bestandsdeel serializer to include lock attribute
      ===========
      1.4.1 (2023-08-29)
      ===========
      - **Changed:** schema generation such that the `lock` attribute shows up in EIO.bestandsdelen GET response.
      Implementation changes
      ----------------------
      1.4.0 (2023-08-22)
      ===========
      Implementation changes
      ----------------------
      `Issue 2247`_:
      - **Added:** Implementation of 'trefwoorden' to the 'EnkelvoudigInformatieobject' model for improved metadata organization.
      - **Added:** Integration of 'trefwoorden' filter to facilitate precise content filtering.
      - **Changed:** Adjusted test suite to accommodate the new 'trefwoorden' attribute.
      - **Added:** Introduction of 'expand' feature to the 'documenten' API, enabling more comprehensive data retrieval.
      - **Changed:** Replaced hard-coded search logic for models and serializers.
      - **Changed:** Renamed '_inclusions' to '_expand' for better clarity and consistency.
      - **Changed:** Updated the 'expand' model to resolve previous errors and improve performance.
      - **Fixed:** Corrected the URL for signals to ensure proper functionality.
      - **Updated:** Expanded OpenAPI Specification (OAS) to include the 'expand' feature.
      - **Added:** Custom renderer to enable camel case formatting for improved API response consistency.
      - **Fixed:** Adjusted renderers to handle nested dictionaries and replace 'Expand' with '_expand'.
      - **Updated:** 'zrc expansions.py' for alignment with the latest enhancements.
      - **Fixed:** Handled scenarios involving empty values more gracefully.
      - **Fixed:** Corrected an issue where a URL within a nested dictionary caused a server error.
      - **Fixed:** signals url and removed notifications mixin #210
      - **Updated:** 'exclusions.py' to handle non-type objects more effectively during iteration.
      - **Updated:** Modified 'expfield' to 'sub_field' for clarity and precision in naming.
      
      `Issue 2241`_:
      - **Updated:** eio validation such that status==definitief does not block update/patch
      
      `Issue 2304`_:
      - **Updated:** help text for deprecated resources (verzenddatum and ontvangstdatum  in openapi.yaml
      
      .. _Issue 2247: https://github.com/VNG-Realisatie/gemma-zaken/issues/2247
      .. _Issue 2241: https://github.com/VNG-Realisatie/gemma-zaken/issues/2241
      .. _Issue 2304: https://github.com/VNG-Realisatie/gemma-zaken/issues/2304
      

Related issues 1 (1 open0 closed)

Related to Alfresco Documenten API - Project activity #31327: Toevoegen "expand" functie aan Alfresco DRC implementatieBacklogContezza Development20/03/2025

Actions

Also available in: Atom PDF