Confluence Questions REST ResourcesPUBLIC SINCE 2.3

by Atlassian for Confluence Server 5.3+

questionDTO element

Type: questionDTO

Example JSON

{ "dateAsked" : "...", "votes" : { "down" : ..., "upVoted" : false, "downVoted" : false, "up" : ..., "total" : ... }, "comments" : [ { "dateCommented" : "...", "id" : ..., "parentId" : ..., "questionId" : ..., "friendlyDateCommented" : "...", "url" : "...", "body" : { "content" : "...", "bodyFormat" : "VIEW" }, "author" : { "phone" : "...", "department" : "...", "name" : "...", "email" : "...", "position" : "...", "fullName" : "...", "location" : "...", "avatarDownloadPath" : "...", "userKey" : "..." } }, ... ], "topics" : [ { "featured" : false, "avatarDownloadPath" : "...", "name" : "...", "description" : "...", "isWatching" : false, "idAsString" : "...", "url" : "...", "id" : ... }, ... ], "id" : ..., "space" : { "spaceKey" : "...", "spaceName" : "..." }, "friendlyDateAsked" : "...", "body" : { "content" : "...", "bodyFormat" : "VIEW" }, "url" : "...", "isTrashed" : false, "answers" : [ { "questionId" : ..., "url" : "...", "id" : ..., "dateAccepted" : "...", "accepted" : false, "dateAnswered" : "...", "friendlyDateAnswered" : "...", "comments" : [ { "dateCommented" : "...", "id" : ..., "parentId" : ..., "questionId" : ..., "friendlyDateCommented" : "...", "url" : "...", "body" : { "content" : "...", "bodyFormat" : "VIEW" }, "author" : { "phone" : "...", "department" : "...", "name" : "...", "email" : "...", "position" : "...", "fullName" : "...", "location" : "...", "avatarDownloadPath" : "...", "userKey" : "..." } }, ... ], "votes" : { "down" : ..., "upVoted" : false, "downVoted" : false, "up" : ..., "total" : ... }, "space" : { "spaceKey" : "...", "spaceName" : "..." }, "author" : { "phone" : "...", "department" : "...", "name" : "...", "email" : "...", "position" : "...", "fullName" : "...", "location" : "...", "avatarDownloadPath" : "...", "userKey" : "..." }, "body" : { "content" : "...", "bodyFormat" : "VIEW" } }, ... ], "answersCount" : ..., "acceptedAnswerId" : ..., "title" : "...", "author" : { "phone" : "...", "department" : "...", "name" : "...", "email" : "...", "position" : "...", "fullName" : "...", "location" : "...", "avatarDownloadPath" : "...", "userKey" : "..." } }