Skip to main content
1 of 6
kittycat
  • 507
  • 2
  • 7

Stack Exchange API is returning non-existant/incorrect notices for questions

When you view this question you do not see any notices other than the protected notice at bottom. Also, you are able to edit the answers and question (provided you have the privilege).

However, when you access the details for the question through the API you get something like this:

[93] => stdClass Object
    (
        [question_id] => 3737139
        [last_edit_date] => 1372180382
        [creation_date] => 1284740647
        [score] => 785
        [community_owned_date] => 1284740647
        [protected_date] => 1368947827
        [title] => Reference - What does this symbol mean in PHP?
        [link] => http://stackoverflow.com/questions/3737139/reference-what-does-this-symbol-mean-in-php
        [is_answered] => 1
        [close_vote_count] => 0
        [reopen_vote_count] => 0
        [delete_vote_count] => 0
        [notice] => stdClass Object
            (
                [body] => This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: FAQ.
            )
    )

It says the question has this notice:

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: FAQ.

Which it does not. From what I recall seeing in the past the notice was displayed on the post. Even if it is failing to display the notice it's still wrong as I can still modify the posts and moderate it.

kittycat
  • 507
  • 2
  • 7