Support Blog post with the Copy page API

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • Component/s: Ecosystem
    • None
    • 1

      Issue Summary

      we have found that blog posts are not currently supported by the "Single Copy Page" REST API or maybe we are doing it wrong.

      Steps to Reproduce

      We have tried using the following endpoint: `host`/wiki/rest/api/content/`contentId`/copy
      with this request JSON body:

      {
       "copyAttachments": true,
       "copyPermissions": true,
       "copyProperties": true,
       "copyLabels": true,
       "copyCustomContents": true,
       "destination": {
       "type": "space",
       "value": "PS"
       }
      }

      and this is the response we got:

      {
       "statusCode": 404,
       "data": {
       "authorized": false,
       "valid": true,
       "errors": [],
       "successful": false
       },
       "message": "com.atlassian.confluence.api.service.exceptions.NotFoundException: Source page not found"
      }

      Expected Results

      Blog post get copied to destination space with same date

      Actual Results

      404 error as mentioned in the steps to reproduce field

       

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Ralph Whitbeck (Inactive)
              Votes:
              18 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: