Confluence Questions REST ResourcesPUBLIC SINCE 2.3

by Atlassian for Confluence Server 5.3+

ImportResource

The following resources are applicable:

/import/answers

Mount Point: /rest/questions/1.0/import/answers

POST

Import a full answer (along with its votes and comments)

Request Body

element: importAnswerJson
media types: application/json

a JSON representation of the answer to be imported

Response Body

element: answerDTO
media types: application/json

a JSON representation of the imported answer

/import/bounties

Mount Point: /rest/questions/1.0/import/bounties

POST

Import a bounty

Request Body

element: importBountyJson
media types: application/json

a JSON representation of the bounty to be imported

Response Body

element: bountyDTO
media types: application/json

a JSON representation of the imported bounty

/import/comments

Mount Point: /rest/questions/1.0/import/comments

POST

Import a comment

Request Body

element: importCommentJson
media types: application/json

a JSON representation of the comment to be imported

Response Body

element: commentDTO
media types: application/json

a JSON representation of the imported comment

/import/questions

Mount Point: /rest/questions/1.0/import/questions

POST

Import a full question (along with its votes, answers and comments)

Request Body

element: importQuestionJson
media types: application/json

a JSON representation of the question to be imported

Response Body

element: questionDTO
media types: application/json

the question or 400 BAD REQUEST if the question title is not supplied

/import/watch

Mount Point: /rest/questions/1.0/import/watch

POST

Import watches on topics

Request Body

element: watches
media types: application/json

a JSON representation of the new watches (on topics) to be imported

Response Body

element: (custom)
media types: application/json

200 OK on success