Fixed API Documentation: author_alert_reason must be type of string, not bool

inzanty

Active member
Affected version
2.2.13
Endpoints such as (POST profile-posts/{id}/), (POST profile-post-comments/{id}/) have a property author_alert_reason. In all cases, which I found in xenForo source code, it has a string type.
1701605351876.webp
1701605365655.webp

1701604891444.webp

In my opinion, this is a mistake.
 
Last edited:
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.14).

Change log:
Fix profile post/comment author alert reason API documentation
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom