Project

General

Profile

Actions

Bug #11650

closed

Archive REST section outdated for download ZIP archive

Added by Janos Mattyasovszky over 6 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
61
Name check:
Fix check:
Regression:

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")
Actions #1

Updated by Benoît PECCATTE over 6 years ago

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

Updated by Benoît PECCATTE over 6 years ago

  • Priority changed from 49 to 61
Actions #3

Updated by Nicolas CHARLES over 6 years ago

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

Updated by Nicolas CHARLES over 6 years 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
Actions #5

Updated by Nicolas CHARLES over 6 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Vincent MEMBRÉ over 6 years 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.

Actions

Also available in: Atom PDF