Project

General

Profile

Bug #11650

Archive REST section outdated for download ZIP archive

Added by Janos Mattyasovszky 6 months ago. Updated 4 months ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Target version (plugin):
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
61

Description

Archive REST Section says:

https://www.rudder-project.org/rudder-doc-4.1/rudder-doc.html#rest-api

http://localhost/rudder/api/archives/zip/full/[archiveId]
Download groups, directives and rules for the given Commit ID as a ZIP archive.

But this throws a 404 Not Found.

According to the scala code I presume the correct one is "zip/all" in the path:

https://github.com/Normation/rudder/blob/master/rudder-web/src/main/scala/com/normation/rudder/web/rest/RestGetGitCommitAsZip.scala#L84

    case Get("api" :: "archives" :: "zip" :: "all"        :: commitId :: Nil, req) =>
      getZip(commitId, allFiles, "all")

Associated revisions

Revision 52048aab (diff)
Added by Nicolas CHARLES 5 months ago

Fixes #11650: Archive REST section outdated for download ZIP archive

History

#1 Updated by Benoît PECCATTE 6 months ago

  • Target version set to 3.1.25
  • Effort required set to Very Small
  • Priority changed from 32 to 49

#2 Updated by Benoît PECCATTE 6 months ago

  • Priority changed from 49 to 61

#3 Updated by Nicolas CHARLES 5 months ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES

#4 Updated by Nicolas CHARLES 5 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-doc/pull/383

#5 Updated by Nicolas CHARLES 5 months ago

  • Status changed from Pending technical review to Pending release

#6 Updated by Vincent MEMBRÉ 4 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.25, 4.1.9 and 4.2.3 which were released today.

Also available in: Atom PDF