I am trying to retrieve and show if a comment on question/answer is flagged or not.
I see there is can_flag variable but whenever I use /questions/{ids} i always get can_flag
is true
.
However when i retrieved individual comment using /comments/{ids} i am getting correct status.
Example:
Question ID: 51812 Site: meta
In first Answer, I flagged 5th comment (Comment ID: 764560). Below screenshot is from /questions/{ids}
and i am receiving can_flag=true
.
However when i call /comments/{ids}
I get can_flag=false
which is correct. I also tried with 4th comment (Comment ID:396655) for which i received can_flag=true
.
4th Comment
5th Comment
Why is there an inconsistency? Is this a bug? or is this designed this way?