Skip to main content
1 of 2
Anerdw
  • 133
  • 5

Differentiate Staging Ground posts from regular questions

As of now, the SE API does not clearly distinguish between questions that are on Stack Overflow's Staging Ground and questions on its main site. This comment on a SmokeDetector GH issue details it pretty completely, but to recap, GET requests for SG questions currently look something like this:

"items": [
  {
    "score": 0,
    "creation_date": 1725590314,
    "post_type": "question",
    "post_id": 78955432,
    "share_link": "https://stackoverflow.com/q/78955432",
    "link": "https://stackoverflow.com/q/78955432"
  }
],

This is nearly identical to the regular report for questions, which makes it difficult to tell whether a post is an actual question or not.

It would be helpful if the post's Staging Ground status could be made clearer. I can think of a few ways for this to be implemented, ordered roughly in terms of disruptiveness:

  • Switch "share_link" and/or "link" to "https://stackoverflow.com/staging-ground/..." instead of "https://stackoverflow.com/q/..."
  • Change "post_type" to "staging-ground" instead of "question"
  • Add a "staging-ground" boolean field.
Anerdw
  • 133
  • 5