2

This suggested edit: https://dba.stackexchange.com/suggested-edits/20375 is not returned by the /suggested-edits/{ids} API call:

https://api.stackexchange.com/2.2/suggested-edits/20375?site=dba returns

{"items":[],"has_more":false,"quota_max":300,"quota_remaining":297}

Am I doing something wrong here or is this a bug in the API? Other suggested edits like this one do work.

1 Answer 1

3

It's probably because the referenced post has been deleted.

The API excludes (most) deleted data (usually).

1
  • 1
    Although, it would be nice if the API mirrored the web pages, where we can see the suggested edit anyway. Commented May 28, 2019 at 15:04

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.