Issue Summary
Using the copy single page endpoint in the confluence rest api
'https://your-domain.atlassian.net/wiki/rest/api/content/{id}/copy'
In order to move the page to an existing folder, the destination type doesn't accept the folder as a type.
The same applies to databases and whiteboards.
Steps to Reproduce
- Call the API using the destination, and using the types: 'folder', 'database' or 'whiteboard'
Expected Results
Endpoint returns 200, and move the page to the provided content id in the request
Actual Results
Endpoint returns 400, and the page doesn't move
The below exception is thrown in the xxxxxxx.log file:
{ "statusCode": 400, "data": { "authorized": true, "valid": true, "errors": [], "successful": true }, "message": "com.atlassian.confluence.api.service.exceptions.BadRequestException: Invalid destination"}
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is cloned as
-
DISCO-3620 Loading...