I am trying to get the parent comment (the comment a comment I have the id for was replying to) through the “Get footer comment by id” Rest API but when I get the comment I have an id for the commentParentId is not on the response despite the comment definitely being a reply. Am I doing something wrong or is this a bug in the API?
URL: https://…/wiki/api/v2/footer-comments/34078736?body-format=storage&include-properties=true
Response:
{
"id": "34078736",
"status": "current",
"title": "Re: Page with Comment",
"pageId": "29655041",
"version": {
"number": 5,
"message": "",
"minorEdit": false,
"authorId": "...",
"createdAt": "2024-06-12T02:26:41.880Z"
},
"body": {
"storage": {
"value": "\u003Cp\u003EReply to comment\u003C/p\u003E",
"representation": "storage"
}
},
"properties": {
"results": [
{
"value": "v2",
"key": "editor",
"id": "34078741",
"version": {
"number": 1,
"message": "",
"minorEdit": false,
"authorId": "...",
"createdAt": "2024-06-06T23:26:31.876Z"
}
}
],
"meta": {
"hasMore": false
},
"_links": {
"self": "/api/v2/footer-comments/34078736/properties"
}
},
"_links": {
"webui": "/spaces/~626e506f106b60006f5661a5/pages/29655041/Page+with+Comment?focusedCommentId=34078736",
"base": "https://.../wiki"
}
}