Project

General

Profile

Actions

Bug #25696

open

Exporting empty archive with no content should return an API error

Added by Clark ANDRIANASOLO 8 days ago. Updated 1 day ago.

Status:
New
Priority:
2
Assignee:
-
Category:
API
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
103
Name check:
To do
Fix check:
To do
Regression:
No

Description

When using the archives/export endpoint to export e.g. all directives, I expect that all directives would be exported with the following parameters :

api/latest/archives/export?include=directives

But the generated archive only has an empty directives folder even if I have configured directives on the Rudder server.

The API response should be an error when the archive is empty, which is because no components match the request at all on the server.

We should also improve the doc about that

Actions #1

Updated by François ARMAND 1 day ago

  • Priority changed from To review to 2
Actions

Also available in: Atom PDF