Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

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 like on this question. Even if it is failing to display the notice it's still wrong as I can still modify the posts and moderate it.

share|improve this question
2  
Actually, the question did have a notice, which you can see in the edit history. It would be nice if the notices showed a "removed" date, as applicable, but I thinks it's good that the API returns the last notice (or all notices), whether it is still in effect or not. The only alternative is to dredge through the /revisions paths and that's a major PITA. –  Brock Adams Jul 15 '13 at 1:55
    
Well that sucks, kinda ruins what I was wanting the info for. =o( Yeah, a removal date or status field would be great. –  cryptic ツ Jul 15 '13 at 2:00
add comment

1 Answer 1

up vote 2 down vote accepted

The bug here is that deleted notices were still being returned.

This was fixed in the last deploy.

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .