altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

Api to delete text resource

Open RonnyB71 opened this issue 1 year ago • 1 comments

Description

Today Studio frontend does a DELETE request to /designer/{org}/{repo}/Text/DeleteLanguage/af

Create a new endpoint for /designer/api/v2/{org}/{repo}/texts/{languageCode} that deletes the specified language.

Additional Information

No response

Tasks

No response

Acceptance Criterias

  • [ ] New endpoint implemented
  • [ ] New endpoint is covered by unit/integration tests
  • [ ] The selected text file with the matching language code should be deleted
  • [ ] The http response should be either 200 (with payload) or 204 (without payload)

RonnyB71 avatar Aug 19 '22 11:08 RonnyB71

cc: @mjulstein @andrealouisestanderen

RonnyB71 avatar Aug 22 '22 10:08 RonnyB71

Solved by issue #8915

standeren avatar Sep 19 '22 13:09 standeren