Add new Get macro body by macro ID API using the latest content version

XMLWordPrintable

      Issue Summary

      Steps to Reproduce

      1. Use the "Get macro body by macro ID" using the latest version of the content always

      Expected Results

      • Get macro body by macro ID using the latest content version, instead of defining the content version

      Actual Results

      Content version is required right now

      Workaround

      Calling the GET /wiki/rest/api/content/{id}/history/{version}/macro/id/{macroId} using "0" as the version will retrieve the macro body for the latest content version. i.e., /wiki/rest/api/content/<content_id>/history/0/macro/id/<macro_id> should give the desired results.

              Assignee:
              Ryan Talusan
              Reporter:
              Ryan Talusan
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: