Skip to content

Conversation

@mgunnerud
Copy link
Contributor

@mgunnerud mgunnerud commented Oct 16, 2025

Description

Add API to get consent templates:

  • Service to GET all consent templates (will return highest version number of each consent template)
  • Service to GET a single consent template by id. version is an optional query param to get a specific version of a template

Consent templates are still stored in altinn-studio-docs, but can be moved to resource-registry database later

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@mgunnerud mgunnerud marked this pull request as ready for review October 16, 2025 11:10
@mgunnerud mgunnerud requested a review from TheTechArch October 16, 2025 12:34
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lag backend-tjeneste for samtykke-templates

1 participant