Type suggested_edit

Discussion

This type represents a suggested edit on a Stack Exchange site.

Fields

approval_date

body
string
unchanged in unsafe filters
may be absent

comment
string

creation_date

post_id
integer, refers to a post

post_type
one of question, answer, or article

proposing_user

rejection_date

suggested_edit_id
integer, refers to a suggested_edit

tags
an array of strings
may be absent

title
string
may be absent

Fields marked with are included in the default filter, those marked with are excluded in the default filter.

Examples

Typical Question Suggested Edit

{"tags":["c#","windows"],"proposing_user":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"http://example.stackexchange.com/users/1/example-user"},"creation_date":1728947220,"post_type":"question","post_id":1,"suggested_edit_id":1,"comment":"user entered comment","title":"title of the edit","body":"body of the edit"}

Typical Answer Suggested Edit

{"proposing_user":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"http://example.stackexchange.com/users/1/example-user"},"creation_date":1728947220,"post_type":"answer","post_id":2,"suggested_edit_id":1,"comment":"user entered comment","body":"body of the edit"}

Approved Suggested Edit

{"proposing_user":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"http://example.stackexchange.com/users/1/example-user"},"approval_date":1729033620,"creation_date":1728947220,"post_type":"answer","post_id":2,"suggested_edit_id":1,"comment":"user entered comment","body":"body of the edit"}

Rejected Suggested Edit

{"proposing_user":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"http://example.stackexchange.com/users/1/example-user"},"rejection_date":1729033620,"creation_date":1728947220,"post_type":"answer","post_id":2,"suggested_edit_id":1,"comment":"user entered comment","body":"body of the edit"}

Methods That Return This Type