Confluence
  1. Confluence
  2. CONF-5536

Space export created by remote API is different to that created using web UI

    Details

    • Last commented by user?:
      true
    • Internal Complexity:
      3
    • Internal Value:
      3

      Description

      The export zip file created when calling the exportSpace() remote API method with 'TYPE_XML' is different to doing a full XML export from the web UI.

      Perhaps the options used to generate the export remotely are different to those used by the web action. This should be fixed so that they are the same.

        Issue Links

          Activity

          Hide
          Alice Wang [Atlassian] added a comment -

          Hi Marc Guenther, the exportAll option has existed in the API since at least Confluence 3.0 but it was just poorly documented.
          In regards to exporting large spaces, I found this issue which is similar to what you described. Could you please take a look and see if it addresses your concerns? If so, please watch that issue instead of this one.

          Bob Swift PDF export all should be the same but with export type set to "TYPE_PDF".

          Regards,
          Alice

          Show
          Alice Wang [Atlassian] added a comment - Hi Marc Guenther , the exportAll option has existed in the API since at least Confluence 3.0 but it was just poorly documented. In regards to exporting large spaces, I found this issue which is similar to what you described. Could you please take a look and see if it addresses your concerns? If so, please watch that issue instead of this one. Bob Swift PDF export all should be the same but with export type set to "TYPE_PDF". Regards, Alice
          Hide
          Bob Swift added a comment - - edited

          There is no exportAll parameter on the PDF export API - https://developer.atlassian.com/display/CONFDEV/Remote+API+Specification+for+PDF+Export
          It has been a separate API for some time.

          Show
          Bob Swift added a comment - - edited There is no exportAll parameter on the PDF export API - https://developer.atlassian.com/display/CONFDEV/Remote+API+Specification+for+PDF+Export It has been a separate API for some time.
          Hide
          Petro Semeniuk [Atlassian] added a comment -

          Bob Swift are you ok if we close this issue(since it was about xml export) as resolved and open another one for pdf export?

          Show
          Petro Semeniuk [Atlassian] added a comment - Bob Swift are you ok if we close this issue(since it was about xml export) as resolved and open another one for pdf export?
          Hide
          Bob Swift added a comment -

          Yes, that would be fine.

          Show
          Bob Swift added a comment - Yes, that would be fine.
          Hide
          Petro Semeniuk [Atlassian] added a comment - - edited

          Bob Swift thanks, we've created https://jira.atlassian.com/browse/CONF-31584 to track pdf api change.

          Show
          Petro Semeniuk [Atlassian] added a comment - - edited Bob Swift thanks, we've created https://jira.atlassian.com/browse/CONF-31584 to track pdf api change.

            People

            • Votes:
              9 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                23 weeks, 1 day ago